public void HideEndingPanel() { EndingPanel.SetActive(false); CurrentPanel = Ending; WinImage.SetActive(false); LoseImage.SetActive(false); }
public void ShowEndingPanel(bool _show, bool _won) { EndingPanel.SetActive(_show); CurrentPanel = Ending; if (_won) { WinImage.SetActive(true); } else { LoseImage.SetActive(true); } }
public void ShowUpgradeMenu(bool _show) { UpgradeMenuPanel.SetActive(_show); CurrentPanel = UpgradeMenu; }
public void ShowMainMenuPanel(bool _show) { MainMenuPanel.SetActive(_show); CurrentPanel = MainMenu; }