Exemplo n.º 1
0
 public void RestartPressed()
 {
     if (Hide())
     {
         UIManager.Gameplay.Show();
         AdManager.ShowInterstitial();
         Balls.Restart();
     }
 }
Exemplo n.º 2
0
        public void OnSpinPressed()
        {
            if (!Wheel.Spining)
            {
#if !UNITY_EDITOR
                AdManager.ShowRewarded();
#else
                Spin();
#endif
            }
        }
Exemplo n.º 3
0
 public override bool Show(float delay = 0f)
 {
     UIManager.ClearMessage();
     if (base.Show(delay))
     {
         AdManager.RequestRewardedAd();
         Title.gameObject.SetActive(true);
         Title.Show(ShowDuration);
         return(true);
     }
     return(false);
 }
Exemplo n.º 4
0
 private bool loadPuzzle(Level levelProfile)
 {
     Active = true;
     init();
     StopAllCoroutines();
     if (WasGameOver)
     {
         AdManager.ShowInterstitial();
         WasGameOver = false;
     }
     StartCoroutine(ResetBallsRoutine(levelProfile));
     UIManager.Gameplay.ResetScore();
     return(true);
 }