public void SetBattleState(bool isBattle) { if (isBattle != oldBattleState) { oldBattleState = isBattle; if (isBattle) { BattlePanel.LateInit(); BattlePanel.Show (); } else { BattlePanel.Hide (); } } }
public void SetBattleState(bool isBattle) { if (isBattle != oldBattleState) { oldBattleState = isBattle; if (isBattle) { BattlePanel.LateInit(); BattlePanel.Show (); } else { BattlePanel.Hide (); } } }