From fa4881900f91b1d096feb627ad925ec5659926fe Mon Sep 17 00:00:00 2001 From: lwb <q3213421wrwqr> Date: 星期日, 07 二月 2021 19:21:40 +0800 Subject: [PATCH] 9527 ilruntime --- Assets/Editor/Tool/ClearAllLocalSaveTool.cs.meta | 11 +++++++++++ Assets/ILRuntime.meta | 8 ++++++++ Assets/Editor/Tool/ClearAllLocalSaveTool.cs | 13 +++++++++++++ Assets/ILRuntime/Src/ILRuntimeLoader.cs | 3 +++ 4 files changed, 35 insertions(+), 0 deletions(-) diff --git a/Assets/Editor/Tool/ClearAllLocalSaveTool.cs b/Assets/Editor/Tool/ClearAllLocalSaveTool.cs new file mode 100644 index 0000000..7921e82 --- /dev/null +++ b/Assets/Editor/Tool/ClearAllLocalSaveTool.cs @@ -0,0 +1,13 @@ +using UnityEditor; +using UnityEngine; + +public class ClearAllLocalSaveTool +{ + + [MenuItem("Tools/娓呴櫎LocalSave")] + public static void ClearAllLocalSave() + { + LocalSave.DeleteAll(); + } + +} diff --git a/Assets/Editor/Tool/ClearAllLocalSaveTool.cs.meta b/Assets/Editor/Tool/ClearAllLocalSaveTool.cs.meta new file mode 100644 index 0000000..442ba04 --- /dev/null +++ b/Assets/Editor/Tool/ClearAllLocalSaveTool.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 44556fe6ad0f763438fceaa932d50e8a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ILRuntime.meta b/Assets/ILRuntime.meta new file mode 100644 index 0000000..56dba4d --- /dev/null +++ b/Assets/ILRuntime.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dea2d610c46c63249bbfd24044a6c75f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ILRuntime/Src/ILRuntimeLoader.cs b/Assets/ILRuntime/Src/ILRuntimeLoader.cs index b33207d..a6a5c42 100644 --- a/Assets/ILRuntime/Src/ILRuntimeLoader.cs +++ b/Assets/ILRuntime/Src/ILRuntimeLoader.cs @@ -164,6 +164,9 @@ public void LaunchStart() { +#if UNITY_EDITOR + _appdomain.DebugService.StartDebugService(56000); +#endif _appdomain.Invoke("GameLogicMgr", "Init", null, null); } -- Gitblit v1.8.0