mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d8673655a79141d48eb9e89c85ee1a9a
|
||||
timeCreated: 1715335972
|
Reference in New Issue
Block a user