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