public static void _showInterstitialImmediately() { AdmobVNTIS_Interstitial ai = (AdmobVNTIS_Interstitial)GameObject.Find("AdmobVNTISInterstitialObject").GetComponent("AdmobVNTIS_Interstitial"); if (ai != null) { ai.showInterstitialImmediately(); } }
public static void _showInterstitialImmediately() { #if UNITY_EDITOR Debug.Log("AdmobVNTIS_Interstitial._showInterstitialImmediately() called"); return; #endif if (instance != null) { instance.showInterstitialImmediately(); } }
// Update is called once per frame void OnMouseDown() { x.showInterstitialImmediately(); //x.showInterstitial (); }