From 0f1e31c6f1005bf2cf1078db31c866597f0b3f95 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 18 五月 2026 14:46:54 +0800
Subject: [PATCH] 0312 还原日志调试
---
Main/Manager/StageManager.cs | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/Main/Manager/StageManager.cs b/Main/Manager/StageManager.cs
index c554189..1665f55 100644
--- a/Main/Manager/StageManager.cs
+++ b/Main/Manager/StageManager.cs
@@ -132,18 +132,18 @@
UIManager.Instance.OpenWindow<MainWin>();
//娓告垙鍐呮棩蹇楀叧闂�
-// #if !UNITY_EDITOR
-// if (File.Exists(Directory.GetParent(Application.persistentDataPath) + "/Debug") ||
-// LocalSave.GetString("#@#BrancH") != string.Empty)
-// {
-// Debug.unityLogger.logEnabled = true;
-// }
-// else
-// {
-// Debug.unityLogger.logEnabled = false;
-// }
+#if !UNITY_EDITOR
+ if (File.Exists(Directory.GetParent(Application.persistentDataPath) + "/Debug") ||
+ LocalSave.GetString("#@#BrancH") != string.Empty)
+ {
+ Debug.unityLogger.logEnabled = true;
+ }
+ else
+ {
+ Debug.unityLogger.logEnabled = false;
+ }
-// #endif
+#endif
}
protected async UniTask OnLoading(AsyncOperation asyncOperation, Func<float> getLoadingProgress, Func<UniTask> anthorTask = null)
--
Gitblit v1.8.0