Exemple #1
0
 public void victoryOrDefeat(bool victory)
 {
     isPlaying = false;
     if (victory == true)
     {
         Debug.Log("You've Won");
         guiHandler.CmdSetGuiMode(2);
         DestroyAllGameObjects();
     }
     else
     {
         Debug.Log("You've Lost");
         guiHandler.CmdSetGuiMode(2);
         DestroyAllGameObjects();
     }
 }