| | |
| | | GodBeastChildNodes.ButtonDown.RemoveAllListeners();
|
| | | if (cellCount - 1 < GodBeastBagList.Count)
|
| | | {
|
| | | int index = cellCount - 1;
|
| | | |
| | | int index = cellCount - 1; |
| | | GodBeastChildNodes.ItemCell.gameObject.SetActive(true);
|
| | | GodBeastBagClass godBeastBagClass = GodBeastBagList[index];
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.rptDogzItem, godBeastBagClass.Index);
|
| | |
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | if (godBeastModel.Absorption_Dic.ContainsKey(godBeastBagClass.Index))
|
| | | {
|
| | | GodBeastChildNodes.ChoosenImg.SetActive(true);
|
| | | if (itemModel.EquipPlace <= 0 && itemModel.itemInfo.ItemCount>1)
|
| | | if (itemModel.EquipPlace <= 0 && itemModel.itemInfo.ItemCount > 1)
|
| | | {
|
| | | GodBeastChildNodes.NumberNow.gameObject.SetActive(true);
|
| | | GodBeastChildNodes.NumberNow.text = godBeastModel.Absorption_Dic[godBeastBagClass.Index].ToString();
|
| | | GodBeastChildNodes.NumberNow.text = godBeastModel.Absorption_Dic[godBeastBagClass.Index].ToString() + "/" + itemModel.itemInfo.ItemCount;
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | if (itemModel.EquipPlace <= 0 && itemModel.itemInfo.ItemCount > 1)
|
| | | {
|
| | | GodBeastChildNodes.NumberNow.gameObject.SetActive(true);
|
| | | GodBeastChildNodes.NumberNow.text = itemModel.itemInfo.ItemCount.ToString();
|
| | | }
|
| | | }
|
| | | GodBeastChildNodes.GetGodBeastIndex(godBeastBagClass.Index);
|