Ejemplo n.º 1
0
    // Interstitial Ad

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

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

        // The ad is ready

        Enhance.ShowInterstitialAd();
    }
Ejemplo n.º 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");
    }
Ejemplo n.º 3
0
 /**
  * Show interstitial ad
  */
 public static void ShowInterstitialAd(string placement = INTERSTITIAL_PLACEMENT_DEFAULT)
 {
     Enhance.ShowInterstitialAd(placement);
 }
Ejemplo n.º 4
0
 public void ShowInterstitial()
 {
     Debug.Log("interstitial");
     Enhance.ShowInterstitialAd();
 }