|
@@ -95,10 +95,10 @@ namespace GFGGame
|
|
|
_imgSelected.url = "ui://ClothingSynthetic/hc_kuang_4";
|
|
|
|
|
|
_ui.m_listClothing.itemRenderer = ListClothingItemRender;
|
|
|
+ _ui.m_listClothing.onClickItem.Add(OnClickListClothingItem);
|
|
|
|
|
|
|
|
|
_ui.m_btnBack.onClick.Add(OnClickBtnBack);
|
|
|
- _ui.m_listClothing.onClickItem.Add(OnClickListClothingItem);
|
|
|
_ui.m_btnProduction.onClick.Add(OnClickBtnProcuction);
|
|
|
_ui.m_btnHome.onClick.Add(OnClickBtnHome);
|
|
|
|
|
@@ -345,7 +345,7 @@ namespace GFGGame
|
|
|
ItemData itemData = listItem.target.data as ItemData;
|
|
|
int num = ItemDataManager.GetItemNum(itemData.id);
|
|
|
|
|
|
- ViewManager.Show(ViewName.APPROACH_OF_ITEM_VIEW, new object[] { itemData.id, new object[] { ViewName.CLOTHING_SYNTHETIC_VIEW, this.viewData }, itemData.num + 1 - num });
|
|
|
+ ViewManager.Show(ViewName.APPROACH_OF_ITEM_VIEW, new object[] { itemData.id, new object[] { ViewName.CLOTHING_SYNTHETIC_VIEW, new object[] { _suitId, _selectedItemId } }, itemData.num + 1 - num });
|
|
|
}
|
|
|
|
|
|
private void OnItemNumChanged()
|