public override void OnStart(params object[] data) { base.OnStart(); if (data.Length == 1 && data[0].ToString() == "Guide") { _uiType = 1; _UIPanel = UIModule.getInstance.Open <GuideUIPanel>(); } else { _uiType = 0; _UIPanel = UIModule.getInstance.Open <BattleUIPanel>(); } }
public void DisplayBattleUIPanel() { _uiType = 0; _UIPanel = UIModule.getInstance.Open <BattleUIPanel>(); }