Browse Source

新手引导,2-6点击不了问题

huangxiaoyue 1 year ago
parent
commit
faef498ac4

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Card/CardFosterView.cs

@@ -98,7 +98,7 @@ namespace GFGGame
             _ui = UI_CardFosterUI.Create();
             viewCom = _ui.target;
             isfullScreen = true;
-            isReturnView = true;
+            //isReturnView = true;
 
             //公共组件:返回,页签,属性列表
             _ui.m_ComFosterTop.m_btnback.onClick.Add(OnClickBtnBack);

+ 0 - 1
GameClient/Assets/Game/HotUpdate/Views/ClothingSynthetic/ClothingSyntheticView.cs

@@ -438,7 +438,6 @@ namespace GFGGame
 
             GuideController.TryGuide(_ui.m_btnProduction, ConstGuideId.CLOTHING_SYNTHETIC, 5, "点击获得新的服饰。");
             GuideController.TryGuide(_ui.m_btnBack, ConstGuideId.CLOTHING_SYNTHETIC, 6, "获得新衣服啦,继续通关主线剧情吧。");
-            GuideController.TryCompleteGuide(ConstGuideId.CLOTHING_SYNTHETIC, 6);
         }
     }
 }

+ 2 - 1
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpFightView.cs

@@ -1494,10 +1494,11 @@ namespace GFGGame
             GuideController.TryGuide(_ui.m_btnRecommend, ConstGuideId.AUTOPLAY_FIGHT, 1, "", -1, true, 0, true, true);//这个引导自动完成,测试中策划要求件推荐搭配引导提前,为避免意外,没有改引导表,而是直接吧推荐搭配加到买必须品的引导力,这个引导自动完成
             if (GuideDataManager.currentGuideId == GuideCfgArray.Instance.GetCfg(ConstGuideId.AUTOPLAY_FIGHT).id) { 
                 GuideController.TryCompleteGuideIndex(ConstGuideId.AUTOPLAY_FIGHT, 1);
-                GuideController.TryCompleteGuide(ConstGuideId.AUTOPLAY_FIGHT, 1);
             }
+            GuideController.TryCompleteGuide(ConstGuideId.AUTOPLAY_FIGHT, 1);
 
             GuideController.TryGuide(_ui.m_compNeed.target, ConstGuideId.CLOTHING_SYNTHETIC, 1, "当提示有\"必需品\"时。需要穿上对应物品才能通关",-1,false);
+            GuideController.TryCompleteGuide(ConstGuideId.CLOTHING_SYNTHETIC, 6);
         }
 
         protected override void TryCompleteGuide()

+ 3 - 1
GameClient/Assets/Game/HotUpdate/Views/InstanceZones/InstanceZonesUIView.cs

@@ -75,7 +75,9 @@ namespace GFGGame
 
         private void CheckGuide(object param)
         {
-            if (GuideDataManager.IsGuideFinish(ConstGuideId.STUDIO_PORCELAIN) <= 0)
+            if (GuideDataManager.IsGuideFinish(ConstGuideId.STUDIO_PORCELAIN) <= 0
+                || GuideDataManager.IsGuideFinish(ConstGuideId.STUDIO_PROPERTY) <= 0
+                || GuideDataManager.IsGuideFinish(ConstGuideId.STUDIO_FILING) <= 0)
             {
                 UpdateToCheckGuide(null);
             }

+ 3 - 3
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryChapterView.cs

@@ -65,7 +65,7 @@ namespace GFGGame
             _ui = UI_StoryChapterUI.Create();
             viewCom = _ui.target;
             isfullScreen = true;
-            isReturnView = false;
+            //isReturnView = false;
         }
 
         protected override void OnInit()
@@ -171,8 +171,8 @@ namespace GFGGame
         }
         private void OnClickBtnBack()
         {
-            //ViewManager.GoBackFrom(typeof(StoryChapterView).FullName);
-            GameController.GoBackToMainView();
+            ViewManager.GoBackFrom(typeof(StoryChapterView).FullName);
+            //GameController.GoBackToMainView();
         }
         
         private void OnClickSwitchBack()

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryLevelInfoView.cs

@@ -93,8 +93,8 @@ namespace GFGGame
                 DressUpFightType dressUpFightType = new DressUpFightType();
                 dressUpFightType.levelID = _levelID;
                 dressUpFightType.teaPartID = 0;
-                this.Hide();
                 ViewManager.Show<DressUpFightView>(dressUpFightType, null, true);
+                this.Hide();
             }
             else
             {

+ 2 - 0
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -210,6 +210,8 @@ namespace GFGGame
             {
                 _ui.m_openViewAction.Play(MainUIAnimFinished);
             }
+
+            //StorageSProxy.ReqSetClientValue(1012, 4).Coroutine();
         }
 
         protected override void OnHide()