Пример #1
0
 private void BackToMainScene()
 {
     BattleManager.GetInst().IsBattleRun = false;
     SceneLoaderMain.GetInst().ShowMainScene();
     SceneLoaderMain.GetInst().DestroyBattleUI();
     SceneLoader.UnloadBattleScene();
     SearchingPanel.GetInst().ShowPanel(false);
     ResourceMgr.Clear();
 }
Пример #2
0
 private void OnDestroy()
 {
     _inst = null;
 }