Esempio n. 1
0
		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
		}
Esempio n. 2
0
		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);
		}