Commit 92b33759 authored by zhangzhe's avatar zhangzhe

修改bug

parent 5aeeaf49
...@@ -330,7 +330,6 @@ public class AdUtils ...@@ -330,7 +330,6 @@ public class AdUtils
#if UNITY_IOS #if UNITY_IOS
AdManager.Instance.LoadCacheInterstitialAd("Interstitial"); AdManager.Instance.LoadCacheInterstitialAd("Interstitial");
#endif #endif
IsShowRewardAd = false;
this.listener.onInterstitialClose(); this.listener.onInterstitialClose();
} }
......
...@@ -107,7 +107,6 @@ public class Guide : MonoBehaviour ...@@ -107,7 +107,6 @@ public class Guide : MonoBehaviour
public void showGuide(bool isUser) public void showGuide(bool isUser)
{ {
isUser = true;
if (isStartShow) if (isStartShow)
{ {
return; return;
...@@ -356,9 +355,12 @@ public class Guide : MonoBehaviour ...@@ -356,9 +355,12 @@ public class Guide : MonoBehaviour
DissmissGuide(false); DissmissGuide(false);
FastPlanting.Instance().Planting(1); FastPlanting.Instance().Planting(1);
EventUtils.OnEvent("rw03_bc_kjzz"); EventUtils.OnEvent("rw03_bc_kjzz");
// 新手引导完成
PlayerDataControl.Instance.IsNewUser = false; PlayerDataControl.Instance.IsNewUser = false;
Invoke("showFlyBox", 60); Invoke("showFlyBox", 60);
LeeMainController.Instance.UpdateTitleBG2Info(); LeeMainController.Instance.UpdateTitleBG2Info();
PlayerPrefs.SetInt("DidFinishedNewUserGuide", 1);
} }
public void onClickStep5() public void onClickStep5()
{ {
......
...@@ -37,7 +37,7 @@ public class StartControl : MonoBehaviour ...@@ -37,7 +37,7 @@ public class StartControl : MonoBehaviour
private void ShowPigBanDialog() private void ShowPigBanDialog()
{ {
if (!Guide.guide.IfHaveGuide()) if (!Guide.guide.IfHaveGuide() && PlayerPrefs.GetInt("DidFinishedNewUserGuide") == 1)
{ {
DialogControl.Instance.showPigBankDialog(); 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