Commit c7e90d93 authored by zhangzhe's avatar zhangzhe

no message

parent 7543b909
......@@ -295,7 +295,6 @@ public class AdUtils
public static void showInterAd(string actionName, ZXADInterstitialListener listener)
{
IsShowRewardAd = true;
#if UNITY_EDITOR
listener.onInterstitialClose();
return;
......@@ -326,7 +325,6 @@ public class AdUtils
public void onInterstitialClose()
{
IsShowRewardAd = false;
#if UNITY_IOS
AdManager.Instance.LoadCacheInterstitialAd("Interstitial");
#endif
......
......@@ -31,6 +31,11 @@ public class StartControl : MonoBehaviour
Constant.Instance.Interstitial_time = 120;
}
//StartCoroutine(SetInterAd());
if (PlayerPrefs.GetInt("finishedStrongGuide") == 1)
{
DialogControl.Instance.showPigBankDialog();
}
}
/**
......
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