Ejemplo n.º 1
0
 private void OpenControls()
 {
     if (GeneralSettings.IsShowRate())
     {
         this.popupManager.OpenRate();
         AnalyticsManager.RateShow();
     }
     else if (AdsManager.Instance.HasInterstitial(AdPlacement.Solved))
     {
         AdsManager.Instance.ShowInterstitial(AdPlacement.Solved);
     }
     this.popup.Open();
 }
Ejemplo n.º 2
0
 private void OpenControls()
 {
     if (!this.isReplay)
     {
         if (GeneralSettings.IsShowRate())
         {
             this.popupManager.OpenRate();
             AnalyticsManager.RateShow();
         }
         else if (AdsManager.Instance.HasInterstitial(AdPlacement.Solved))
         {
             AdsManager.Instance.ShowInterstitial(AdPlacement.Solved);
         }
     }
     PlayTimeEventTracker.AnimWatched();
     base.StartCoroutine(this.FadeCoroutine(0f, 1f, 0.2f, 0.2f, this.mediaBtn));
     base.StartCoroutine(this.FadeCoroutine(0f, 1f, 0.2f, 0.4f, this.exitBtn));
     base.StartCoroutine(this.FadeCoroutine(1f, 0f, 0.2f, 0f, this.skipBtn));
 }