浏览代码

服装风景补充修改

huangxiaoyue 2 年之前
父节点
当前提交
f73370aeba

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingDecompose/UI_ClothingDecomposeUI.cs

@@ -8,6 +8,7 @@ namespace UI.ClothingDecompose
     {
         public GComponent target;
         public Controller m_c1;
+        public Controller m_TouchSelect;
         public GLoader m_bg;
         public GComponent m_valueBar;
         public GButton m_btnBack;
@@ -69,6 +70,7 @@ namespace UI.ClothingDecompose
         private void Init(GComponent comp)
         {
             m_c1 = comp.GetController("c1");
+            m_TouchSelect = comp.GetController("TouchSelect");
             m_bg = (GLoader)comp.GetChild("bg");
             m_valueBar = (GComponent)comp.GetChild("valueBar");
             m_btnBack = (GButton)comp.GetChild("btnBack");
@@ -86,6 +88,7 @@ namespace UI.ClothingDecompose
         public void Dispose(bool disposeTarget = false)
         {
             m_c1 = null;
+            m_TouchSelect = null;
             m_bg = null;
             m_valueBar = null;
             m_btnBack = null;

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/ClothingDecompose/ClothingDecomposeView.cs

@@ -98,6 +98,7 @@ namespace GFGGame
             _ui.m_list.visible = _clothingDatas != null && _clothingDatas.Count > 0;
             _ui.m_txtNone.visible = _clothingDatas == null || _clothingDatas.Count == 0;
             _ui.m_listReward.visible = _clothingDatas != null && _clothingDatas.Count > 0;
+            _ui.m_TouchSelect.selectedIndex = 0;
             CancleAll();
             UpdateConsume();
         }

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