This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2024-10-14 03:07:34 +08:00
parent edafe4a058
commit d56c133a75
5989 changed files with 8767 additions and 441137 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