Commit c7e90d93 authored by zhangzhe's avatar zhangzhe

no message

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