Beispiel #1
0
 public void playAdForCoins()
 {
     /*if (Advertisement.IsReady ()) {
      *      Advertisement.Show (null, new ShowOptions {
      *              resultCallback = ShowResult => {
      *                      if(ShowResult == ShowResult.Finished) {
      *                              PlayerPrefs.SetInt ("GameTime", 0);
      *                              PlayerPrefs.SetInt ("adIteration", 0);
      *                              PlayerPrefs.SetInt ("coins", PlayerPrefs.GetInt ("coins") + 100);
      *                              Application.LoadLevel ("ShopMenu");
      *                      }
      *              }
      *      });
      * }*/
     ChartboostExample.runAddCoinsAd();
 }
Beispiel #2
0
 public void runVideoAd()
 {
     ChartboostExample.runAddCoinsAd();
 }