浏览代码

服装分解按钮点击区域调大,摘星新手引导报错问题

huangxiaoyue 2 年之前
父节点
当前提交
54ec56a39e

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxView.cs

@@ -440,8 +440,8 @@ namespace GFGGame
         {
             if (!ViewManager.CheckIsTopView(this.viewCom)) return;
             GObject gObject = _ui.m_listBg.GetChildAt(_curIndex);
-            if (gObject == null) return;
-            GButton btnBuyTen = gObject.asCom.GetChild("btnBuyTen").asButton;
+            if (gObject == null) return; 
+           GButton btnBuyTen = gObject.asCom.GetChild("comLuckBoxBtn").asCom.GetChild("btnBuyTen").asButton;
 
             GuideController.TryGuide(null, ConstGuideId.LUCKY_BOX, 1, "“摘星”里可以通过星辰的力量获得服饰。", -1, true, _ui.target.height - 600);
             GuideController.TryGuide(btnBuyTen, ConstGuideId.LUCKY_BOX, 2, "点击摘取十次。");

二进制
GameClient/Assets/ResIn/UI/ClothingDecompose/ClothingDecompose_fui.bytes