Exemple #1
0
 public void SemFim()
 {
     HapticVibration();
     LivesController.InitVidas();
     GameMode.Mode = GameMode.GameModes.Endless;
     GameObject.Find("FadeImage").GetComponent <FadeController>().CallFading("MainEndless");
 }
Exemple #2
0
 public void Classico()
 {
     HapticVibration();
     LivesController.InitVidas();
     GameMode.Mode = GameMode.GameModes.Classic;
     GameObject.Find("FadeImage").GetComponent <FadeController>().CallFading("Main");
 }
Exemple #3
0
 public void LoadGame()
 {
     LivesController.InitVidas();
     if (GameMode.Mode == GameMode.GameModes.Classic)
     {
         GameObject.Find("FadeImage").GetComponent <FadeController>().CallFading("Main");
     }
     else if (GameMode.Mode == GameMode.GameModes.Minigame)
     {
         GameObject.Find("FadeImage").GetComponent <FadeController>().CallFading("ModoMinigame_Transição");
     }
     else if (GameMode.Mode == GameMode.GameModes.Endless)
     {
         GameObject.Find("FadeImage").GetComponent <FadeController>().CallFading("MainEndless");
     }
 }