Commit 10a9014d authored by zhangzhe's avatar zhangzhe

大图广告进入主场景后再加载

parent b41b8bb5
......@@ -185,9 +185,11 @@ public class Splash : MonoBehaviour
AdManager.Instance.LoadSplashAd(new SplshAdListener(this));
}
AdManager.Instance.LoadCacheRewardVideoAd("video");
AdManager.Instance.LoadCacheFeedAd("bigimage");
AdManager.Instance.LoadCacheInterstitialAd("Interstitial");
AdManager.Instance.LoadCacheBannerAd("banner");
#if UNITY_ANDROID
AdManager.Instance.LoadCacheFeedAd("bigimage");
#endif
}
private sealed class SplshAdListener : ZXADSplashListener
......@@ -289,6 +291,9 @@ public class Splash : MonoBehaviour
////点击微信登录
public void ClickLogin()
{
DeviceLogin();
return;
EventUtils.OnEvent("wx_page_login_btn_click");
WxLoginUtil.Instance.OnClickWxLogin(new Action<bool>((wxLoginResult) =>
......
......@@ -124,6 +124,9 @@ public class StartControl : MonoBehaviour
yield return new WaitForSeconds(1F);
EventUtils.OnEvent("tab_imp");
StopCoroutine("ReportTabImp");
#if UNITY_IOS
AdManager.Instance.LoadCacheFeedAd("bigimage");
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment