hch
7 天以前 67f11d7f228d445166969d16992fc81d725dddce
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)