public static void LoseGame() { if (isLost == false) { OnGameOver?.Invoke(); UI_Controller.SetActivePanel(UI_Controller.UI_Element.LoseGamePanel); } isLost = true; }
public void UnPauseGame() { UI_Controller.SetActivePanel(UI_Controller.UI_Element.InGamePanel); Time.timeScale = 1; }
public static void WinGame() { OnGameOver?.Invoke(); UI_Controller.SetActivePanel(UI_Controller.UI_Element.WinGamePanel); }