private void CacheInMobi(string key, long placement) { if(GameUtility.Me.playerData.isRemoveAds && !key.ToLower().Contains("free")) { MyDebug.Log(false, "AdsMCG::CacheInMobi => Remove Ad purchsed"); return; } #if INMOBI InMobiB.loadInterstitial(key, placement); #endif }
private void ShowInMobi(long placement, string key = "GameOver") { #if INMOBI if(InMobiB.isInterstitialReady(key)) { InMobiB.presentInterstitial(key); } else { MyDebug.Log(false,"AdsMCG::ShowInMobi => Cache not Interstitialed"); } #endif CacheInMobi(key, placement); }