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