Example #1
0
 public void ExitToMenu()
 {
     if (gm.stats.gameInProgress)
     {
         gm.ForfeitGame();
     }
     uiPanel.SetActive(false);
     menuPanel.SetActive(true);
 }