Пример #1
0
    // Interstitial Ad

    public void OnShowInterstitialAd()
    {
        // Check whether an interstitial ad is ready

        if (!Enhance.IsInterstitialReady())
        {
            return;
        }

        // The ad is ready

        Enhance.ShowInterstitialAd();
    }
Пример #2
0
    // Interstitial Ad

    public void OnShowInterstitialAd()
    {
        // Check whether an interstitial ad is ready

        if (!Enhance.IsInterstitialReady())
        {
            writeLog("Interstitial ad is not ready");
            return;
        }

        // The ad is ready

        Enhance.ShowInterstitialAd();
        writeLog("Showing interstitial ad");
    }
Пример #3
0
 /**
  * Show interstitial ad
  */
 public static void ShowInterstitialAd(string placement = INTERSTITIAL_PLACEMENT_DEFAULT)
 {
     Enhance.ShowInterstitialAd(placement);
 }
Пример #4
0
 public void ShowInterstitial()
 {
     Debug.Log("interstitial");
     Enhance.ShowInterstitialAd();
 }