Пример #1
0
 public void OnRestartPressed()
 {
     if (Hide())
     {
         AdManager.ShowInterstitial();
         Balls.Restart();
     }
 }
Пример #2
0
 public void RestartPressed()
 {
     if (Hide())
     {
         UIManager.Gameplay.Show();
         AdManager.ShowInterstitial();
         Balls.Restart();
     }
 }
Пример #3
0
 private bool loadPuzzle(Level levelProfile)
 {
     Active = true;
     init();
     StopAllCoroutines();
     if (WasGameOver)
     {
         AdManager.ShowInterstitial();
         WasGameOver = false;
     }
     StartCoroutine(ResetBallsRoutine(levelProfile));
     UIManager.Gameplay.ResetScore();
     return(true);
 }