예제 #1
0
    protected void AddUI_WorldBoss()
    {
        var go = UI_HomeControler.Inst.AddUI(UI_WorldBoss.GetPath());

        if (m_GotoWorldBoss)
        {
            m_GotoWorldBoss = false;
            UI_WorldBoss _worldBoss = go.GetComponent <UI_WorldBoss>();
            _worldBoss.ComebackFormBattle();
        }
    }
 private void AddUI_WorldBoss()
 {
     if (m_NeedTestPanel)
     {
         UI_HomeControler.Inst.AddUI(UI_TestPanel.GetPath());
     }
     if (m_ComeBackFromBattle)
     {
         UI_HomeControler.Inst.AddUI(UI_WorldBoss.GetPath()).GetComponent <UI_WorldBoss>().ComebackFormBattle();
     }
     else
     {
         UI_HomeControler.Inst.AddUI(UI_WorldBoss.GetPath());
     }
 }