| | |
| | | #endif
|
| | | StageManager.Instance.ToLoginScene();
|
| | |
|
| | | ClearGameData();
|
| | |
|
| | | }
|
| | |
|
| | | public static async UniTask InitManagers()
|
| | |
| | | managers.Add(AdsManager.Instance);
|
| | | managers.Add(BoneFieldManager.Instance);
|
| | | managers.Add(ArenaManager.Instance);
|
| | | managers.Add(DayMissionManager.Instance);
|
| | | managers.Add(BattlePassManager.Instance);
|
| | | managers.Add(TianziBillboradManager.Instance);
|
| | | managers.Add(ExpSecretCollectionManager.Instance);
|
| | | managers.Add(SignManager.Instance);
|
| | | managers.Add(RenameManager.Instance);
|
| | | managers.Add(AchievementManager.Instance);
|
| | | managers.Add(HorseManager.Instance);
|
| | |
|
| | |
|
| | | foreach (var manager in managers)
|
| | | {
|
| | | manager.Init();
|
| | |
| | | {
|
| | | // 前面有重新InitManagers了 这里就不在做清除
|
| | | // ReleaseMgrs();
|
| | | ClearGameData();
|
| | | //销毁所有战场
|
| | | BattleManager.Instance.DestroyAllBattleField();
|
| | | }
|
| | |
|
| | | private static void ReleaseMgrs()
|