コード例 #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
ファイル: FGLEnhance.cs プロジェクト: ch00se/enhance-example
 /**
  * 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();
 }