提交Unity 联机Pro

This commit is contained in:
PC-20230316NUNE\Administrator
2024-08-17 14:27:18 +08:00
parent f00193b000
commit 894100ae37
7448 changed files with 854473 additions and 0 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