예제 #1
0
 public static ScenePanel GetInst()
 {
     if (_inst == null)
     {
         ResourceLoader.LoadAssetAndInstantiate("PrefabUI/Main/ScenePanel", SceneLoaderMain.GetInst().mainUIRoot);
     }
     return(_inst);
 }
예제 #2
0
 private void BackToMainScene()
 {
     BattleManager.GetInst().IsBattleRun = false;
     SceneLoaderMain.GetInst().ShowMainScene();
     SceneLoaderMain.GetInst().DestroyBattleUI();
     SceneLoader.UnloadBattleScene();
     SearchingPanel.GetInst().ShowPanel(false);
     ResourceMgr.Clear();
 }
예제 #3
0
 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();
 }
예제 #4
0
 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);
        }