浏览代码

修改引导

lzx 3 周之前
父节点
当前提交
68f52553ac
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Assets/Scripts/GameUI/UI/GuidePanel/Phases/Phase2.cs

+ 2 - 2
Assets/Scripts/GameUI/UI/GuidePanel/Phases/Phase2.cs

@@ -53,12 +53,12 @@ namespace Fort23.Mono.Phases
         {
             if (actionList.Count > guideIdx)
             {
-                pgm.SetOnClickMask(true);
+                UIManager.Instance.SetEventSystemEnable(false);
                 pgm.ResetPlayerGuide();
                 guideIdx++;
                 SaveStep(guideIdx);
                 await actionList[guideIdx](null);
-                pgm.SetOnClickMask(false);
+                UIManager.Instance.SetEventSystemEnable(true);
                 if (isCompleted)
                 {
                     EventManager.Instance.Dispatch(CustomEventType.GuideComplete, null);