public static ScenePanel GetInst() { if (_inst == null) { ResourceLoader.LoadAssetAndInstantiate("PrefabUI/Main/ScenePanel", SceneLoaderMain.GetInst().mainUIRoot); } return(_inst); }
private void BackToMainScene() { BattleManager.GetInst().IsBattleRun = false; SceneLoaderMain.GetInst().ShowMainScene(); SceneLoaderMain.GetInst().DestroyBattleUI(); SceneLoader.UnloadBattleScene(); SearchingPanel.GetInst().ShowPanel(false); ResourceMgr.Clear(); }
public static void EnterBattle() { m_sAddSceneName = "BattleNormal"; //SectionData.GetSceneName(m_iSectionID, m_eBattleType); m_sSpawnName = "Spawn/Spawn001"; //SectionData.GetSceneSpawn(m_iSectionID, m_eBattleType); SceneLoaderMain.GetInst().LoadBattleScene(); }
private void OnClickSingle() { SceneLoader.IsSingle = true; SceneLoaderMain.GetInst().LoadBattleScene(); }
public static BattleTaskFinishPanel GetInst() { if (_inst == null) { ResourceLoader.LoadAssetAndInstantiate("PrefabUI/Battle/BattleTaskFinishPanel", SceneLoaderMain.GetInst().battleUIRoot); } return(_inst); }