private void BackToMainScene() { BattleManager.GetInst().IsBattleRun = false; SceneLoaderMain.GetInst().ShowMainScene(); SceneLoaderMain.GetInst().DestroyBattleUI(); SceneLoader.UnloadBattleScene(); SearchingPanel.GetInst().ShowPanel(false); ResourceMgr.Clear(); }
private void OnDestroy() { _inst = null; }