Beispiel #1
0
 void loadLevel(int level)
 {
     mg.ClearGame();
     Application.LoadLevel(level);
 }
Beispiel #2
0
 /// <summary>
 /// This method quits the game and goes back to main menu.
 /// </summary>
 void QuitToMainMenu()
 {
     MenuButtonLogic.Pause_Play();
     mg.ClearGame();
     Application.LoadLevel(0);
 }