| | |
| | | //销毁所有战场
|
| | | BattleManager.Instance.DestroyAllBattleField();
|
| | |
|
| | | //游戏内日志关闭
|
| | | #if !UNITY_EDITOR
|
| | | if (File.Exists(Directory.GetParent(Application.persistentDataPath) + "/Debug") ||
|
| | | LocalSave.GetString("#@#BrancH") != string.Empty)
|
| | | {
|
| | | Debug.unityLogger.logEnabled = true;
|
| | | }
|
| | | else
|
| | | { |
| | | Debug.unityLogger.logEnabled = true;
|
| | | }
|
| | |
|
| | | #endif
|
| | |
|
| | | }
|
| | |
|
| | | private static void ReleaseMgrs()
|
| | |
| | | AfterLoadingGameScene?.Invoke();
|
| | |
|
| | | 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;
|
| | | }
|
| | |
|
| | | #endif
|
| | | }
|
| | |
|
| | | protected async UniTask OnLoading(AsyncOperation asyncOperation, Func<float> getLoadingProgress, Func<UniTask> anthorTask = null)
|