提交完美

This commit is contained in:
PC-20230316NUNE\Administrator
2024-10-17 20:36:24 +08:00
parent 0d600a2786
commit b0a2e4a900
1522 changed files with 40000 additions and 15615 deletions

View File

@@ -0,0 +1,31 @@
using UnityEditor;
using UnityEngine;
namespace JNGame.Map.DotRecast.Editor
{
[CustomEditor(typeof(DotRecastController))]
public class DotRecastEditor : UnityEditor.Editor
{
private DotRecastController dotRecast;
private void OnEnable()
{
dotRecast = target as DotRecastController;
}
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
if (GUILayout.Button("Save"))
{
dotRecast.Save();
}
if (GUILayout.Button("Load"))
{
dotRecast.Load();
}
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: d8673655a79141d48eb9e89c85ee1a9a
timeCreated: 1715335972