public void showInterstitialAd() //called when btnShowInterstitial Clicked { Debug.Log("Show Interstitial..."); if (Application.platform == RuntimePlatform.Android && chocoPlugin != null) { //Make sure Interstitial Ad is loaded before call this method chocoPlugin.ShowInterstitialAd(); } }
public void showInterstitial() //called when btnShowInterstitial Clicked { Debug.Log("Show Interstitial..."); if (Application.platform == RuntimePlatform.Android && plugin != null) { //Make sure Interstitial Ad is loaded before call this method plugin.ShowInterstitialAd(); //New! Optional. Silently pre-fetch the next interstitial ad without making //any callbacks. The pre-fetched ad will remain in cache until you call //the next LoadInterstitialAd. } }