فهرست منبع

选中套装后点删除报错

zhaoyang 3 سال پیش
والد
کامیت
ff2367b669

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

@@ -306,6 +306,7 @@ namespace GFGGame
         {
             EquipDataCache.cacher.TakeOffAll();
             _ui.m_partsList.m_list.numItems = _currentList3.Count;
+            _ui.m_partsList2.m_list.numItems = _currentList4.Count;
 
         }
 

+ 3 - 2
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpView.cs

@@ -95,6 +95,7 @@ namespace GFGGame
             _ui.m_comListType1.target.x = _ui.target.width;
             _ui.m_comListType2.target.x = _ui.target.width;
             _ui.m_partsList.target.x = _ui.target.width;
+            _ui.m_partsList2.target.x = _ui.target.width;
             this.showListType1();
             if (_sceneObject == null)
             {
@@ -233,7 +234,7 @@ namespace GFGGame
         {
             EquipDataCache.cacher.TakeOffAll();
             _ui.m_partsList.m_list.numItems = _currentList3.Count;
-
+            _ui.m_partsList2.m_list.numItems = _currentList4.Count;
         }
 
         private void OnClickBtnSave()
@@ -371,7 +372,7 @@ namespace GFGGame
 
         private void hideListParts()
         {
-            _currentMenuType = 0;
+            // _currentMenuType = 0;
             UpdateBtnAction();
             GTween.To(partsListX, _ui.target.width, 0.5f)
                 .SetTarget(_ui.m_partsList)