예제 #1
0
 public void OnClickedShowInterstitial()
 {
     if (SelectedAdNetwork == 0)
     {
         AdsMaster.ShowInterstitial((result) =>
         {
             CLog.Log("Interstitial result " + result);
         });
     }
     else if (adPartner != null && adPartner.IsSupport(AdType.Interstitial))
     {
         adPartner.ShowInterstitial();
     }
 }
예제 #2
0
 void HandleClicked()
 {
     if (action == Action.ShowInterstitial)
     {
         AdsMaster.ShowInterstitial(null, key);
     }
     else if (action == Action.ShowBanner)
     {
         AdsMaster.ShowBannerIfLoaded(key);
     }
     else if (action == Action.HideBanner)
     {
         AdsMaster.HideBanner();
     }
 }
예제 #3
0
 public void OnClickedShowInterstitialAd2()
 {
     AdsMaster.ShowInterstitial(null, "ad2");
 }