Beispiel #1
0
 public void CreditsEvent()
 {
     Debug.Log(this.name + ": credits");
     menuState = MainMenuState.CREDITS;
 }
Beispiel #2
0
 public void OptionsEvent()
 {
     Debug.Log(this.name + ": options");
     menuState = MainMenuState.OPTIONS;
 }
Beispiel #3
0
 public void NewGameEvent()
 {
     Debug.Log(this.name + ": new game");
     Game.Instance.NewGame();
     menuState = MainMenuState.OTHER;
 }
Beispiel #4
0
 public void ContinueGameEvent()
 {
     Debug.Log(this.name + ": continue game");
     Game.Instance.ContinueGame();
     menuState = MainMenuState.OTHER;
 }
Beispiel #5
0
 public void ExitGameEvent()
 {
     Debug.Log(this.name + ": quitting");
     menuState = MainMenuState.OTHER;
     Application.Quit();
 }