瀏覽代碼

自动搭配引导提前到1-4关

zhaoyang 2 年之前
父節點
當前提交
e582e85cbd

+ 2 - 2
FGUIProject/assets/DressUp/DressUpFightUI.xml

@@ -20,7 +20,7 @@
     <component id="n1_qsvd" name="btnBack" src="9xlo8" fileName="components/BtnBack.xml" pkg="eg2y0ldp" xy="35,60" group="n38_8lqj">
       <Button icon="ui://eg2y0ldpuyuxtj4"/>
     </component>
-    <component id="n2_qsvd" name="btnHome" src="qp4l60" fileName="components/ButtonHome.xml" pkg="eg2y0ldp" xy="35,200" group="n38_8lqj" visible="false">
+    <component id="n2_qsvd" name="btnHome" src="qp4l60" fileName="components/BtnHome.xml" pkg="eg2y0ldp" xy="35,200" group="n38_8lqj" visible="false">
       <relation target="n1_qsvd" sidePair="left-left,top-top"/>
     </component>
     <image id="n50_f2bf" name="n50" src="f2bfey" fileName="images/dz_cdxzcdxz.png" xy="837,60" group="n51_f2bf"/>
@@ -88,7 +88,7 @@
     <group id="n47_v95q" name="n47" xy="140,1728" size="684,97" group="n38_8lqj" advanced="true" layout="hz" colGap="26" excludeInvisibles="true">
       <relation target="" sidePair="center-center"/>
     </group>
-    <component id="n39_njn2" name="btnAutoPlay" src="jj0mdk" fileName="componentsDialog/Button2.xml" xy="355,1642" group="n38_8lqj">
+    <component id="n39_njn2" name="btnAutoPlay" src="jj0mdk" fileName="componentsDialog/Button2.xml" xy="355,1609" group="n38_8lqj">
       <relation target="" sidePair="left-left,bottom-bottom"/>
     </component>
     <text id="n26_bx8o" name="txtRecommendCount" xy="305,1843" size="304,44" group="n38_8lqj" visible="false" fontSize="32" color="#f0eeee" align="center" vars="true" text="今日剩余次数:{v1=10}/{v2=10}">

+ 3 - 26
GameClient/Assets/Game/HotUpdate/Views/DressUp/ArenaDressUpFightView.cs

@@ -144,7 +144,7 @@ namespace GFGGame
             UpdateStepBtn(true);
             UpdateValueInfo();
             SendLog();
-            Timers.inst.AddUpdate(CheckGuide);
+
         }
 
         protected override void OnHide()
@@ -156,11 +156,10 @@ namespace GFGGame
                 GameObject.Destroy(_sceneObject);
                 _sceneObject = null;
             }
-            // _dressUpData.TakeOffAll();
-            // _dressUpData = null;
+
             DressUpMenuItemDataManager.Clear();
             MyDressUpHelper.ResetMemory();
-            Timers.inst.Remove(CheckGuide);
+
             _ui.m_grhCloseComFightScore.visible = false;
             _ui.m_comValueInfo.GetController("c2").selectedIndex = 0;
 
@@ -989,27 +988,5 @@ namespace GFGGame
 
         }
 
-        private void CheckGuide(object param)
-        {
-            if (GuideDataManager.IsGuideFinish(ConstGuideId.BUY_CLOTHING) <= 0
-             || GuideDataManager.IsGuideFinish(ConstGuideId.AUTOPLAY_FIGHT) <= 0)
-            {
-                UpdateToCheckGuide(null);
-            }
-            else
-            {
-                Timers.inst.Remove(CheckGuide);
-            }
-        }
-
-        protected override void UpdateToCheckGuide(object param)
-        {
-            if (!ViewManager.CheckIsTopView(this.viewCom)) return;
-        }
-
-        protected override void TryCompleteGuide()
-        {
-            base.TryCompleteGuide();
-        }
     }
 }

+ 6 - 5
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpFightView.cs

@@ -1281,16 +1281,17 @@ namespace GFGGame
             // GuideController.TryCompleteGuide(ConstGuideId.START_FIGHT, 5);
 
             GuideController.TryGuide(_ui.m_compNeed.target, ConstGuideId.BUY_CLOTHING, 3, "当提示有“必需品”时,需要穿上对应物品才能通关。");
-            GuideController.TryGuide(_ui.m_comListType1.m_listType, ConstGuideId.BUY_CLOTHING, 7, "按照指示就可以找到必需品啦,点击换上吧。", buyClothingIndex);
-            GuideController.TryGuide(_ui.m_partsList.m_list, ConstGuideId.BUY_CLOTHING, 8, "", buyClothingSubIndex);
+            GuideController.TryGuide(_ui.m_btnRecommend, ConstGuideId.BUY_CLOTHING, 7, "点击推荐搭配,可以快速穿上必须品。");
+
+            GuideController.TryGuide(_ui.m_btnAutoPlay, ConstGuideId.BUY_CLOTHING, 8, "勾选后,会自动进行比拼哦~~");
             GuideController.TryCompleteGuide(ConstGuideId.BUY_CLOTHING, 8);
 
             GuideController.TryGuide(_ui.m_btnHint, ConstGuideId.FIGHT_TIPS, 1, "这次换装需要获得别人的认可呢。");
             GuideController.TryCompleteGuide(ConstGuideId.FIGHT_TIPS, 1);
 
-            GuideController.TryGuide(_ui.m_btnRecommend, ConstGuideId.AUTOPLAY_FIGHT, 1, "衣服太多难以选择,可以点击这里。");
-            GuideController.TryGuide(_ui.m_btnAutoPlay, ConstGuideId.AUTOPLAY_FIGHT, 2, "勾选后,自动进行比拼哦~~");
-            GuideController.TryCompleteGuide(ConstGuideId.AUTOPLAY_FIGHT, 2);
+            // GuideController.TryGuide(_ui.m_btnRecommend, ConstGuideId.AUTOPLAY_FIGHT, 1, "衣服太多难以选择,可以点击这里。");
+            // GuideController.TryGuide(_ui.m_btnAutoPlay, ConstGuideId.AUTOPLAY_FIGHT, 2, "勾选后,自动进行比拼哦~~");
+            GuideController.TryCompleteGuide(ConstGuideId.AUTOPLAY_FIGHT, 0);
 
         }
 

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

@@ -422,8 +422,8 @@ namespace GFGGame
                         if (_dressUpObjUI.dressUpObj.actionId > 0)
                         {
                             _dressUpObjUI.dressUpObj.CancelAction(true);
-                            _dressUpObjUI.dressUpObj.PutOnDressUpData(_dressUpObjUI.dressUpObj.DressUpDataClone(), new int[] { ConstDressUpItemType.SHOU_CHI_WU });
                         }
+                        _dressUpObjUI.dressUpObj.PutOnDressUpData(_dressUpObjUI.dressUpObj.DressUpDataClone(), new int[] { ConstDressUpItemType.SHOU_CHI_WU });
                     }
                     if (headAniCfg != null && headAniCfg.faceId > 0)
                     {

二進制
GameClient/Assets/ResIn/UI/DressUp/DressUp_fui.bytes