This commit is contained in:
PC-20230316NUNE\Administrator
2024-09-29 20:18:48 +08:00
parent e822544d9c
commit c5700ce655
1797 changed files with 40580 additions and 23804 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