| | |
| | | godBeastBagClass.Color = itemModel.config.ItemColor;
|
| | | godBeastBagClass.Star = itemModel.config.StarLevel;
|
| | | godBeastBagClass.EquipScore = itemModel.equipScore;
|
| | | godBeastBagClass.Part = itemModel.equipPlace;
|
| | | godBeastBagClass.Part = itemModel.config.EquipPlace;
|
| | | godBeastBagClass.Count = itemModel.count;
|
| | | var IudetDogzEquipPlus = itemModel.GetUseDataModel((int)ItemUseDataKey.dogzEquipPlus);// 神兽装备强化信息列表 [强化等级, 强化熟练度]
|
| | | if (IudetDogzEquipPlus == null)
|
| | |
| | | if (godBeastModel.Absorption_Dic.ContainsKey(godBeastBagClass.Index))
|
| | | {
|
| | | GodBeastChildNodes.ChoosenImg.SetActive(true);
|
| | | if (itemModel.equipPlace <= 0 && itemModel.count > 1)
|
| | | if (itemModel.config.EquipPlace <= 0 && itemModel.count > 1)
|
| | | {
|
| | | GodBeastChildNodes.NumberNow.gameObject.SetActive(true);
|
| | | GodBeastChildNodes.NumberNow.text = godBeastModel.Absorption_Dic[godBeastBagClass.Index].ToString() + "/" + itemModel.count;
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | if (itemModel.equipPlace <= 0 && itemModel.count > 1)
|
| | | if (itemModel.config.EquipPlace <= 0 && itemModel.count > 1)
|
| | | {
|
| | | GodBeastChildNodes.NumberNow.gameObject.SetActive(true);
|
| | | GodBeastChildNodes.NumberNow.text = itemModel.count.ToString();
|
| | |
| | | GodBeastChildNodes.GetGodBeastIndex(godBeastBagClass.Index);
|
| | | GodBeastChildNodes.ButtonDown.AddListener(() =>
|
| | | {
|
| | | if (itemModel.equipPlace > 0)//选中的物品为装备
|
| | | if (itemModel.config.EquipPlace > 0)//选中的物品为装备
|
| | | {
|
| | | if (godBeastModel.Absorption_Dic.ContainsKey(godBeastBagClass.Index))
|
| | | {
|