| | |
| | | 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)
|