Commit 92b33759 authored by zhangzhe's avatar zhangzhe

修改bug

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