Esempio n. 1
0
 public void ToShow(bool direct = false)
 {
     if (direct)
     {
         ADManager.ShowInterstitialAD(this.percent);
     }
     else
     {
         adShowed = false;
     }
 }
Esempio n. 2
0
 public void Update()
 {
     if (!adShowed)
     {
         adTimer += Time.deltaTime;
         if (adTimer > delay)
         {
             ADManager.ShowInterstitialAD(this.percent);
             adShowed = true;
         }
     }
 }