Example #1
0
 protected void RefreshCanUse()
 {
     if (equipmentInfo != null && equipmentInfo.BelongTo != EquipmentBelongTo.EQUIP && equipmentInfo != null && itemIcon != null)
     {
         if (cantUse != null)
         {
             cantUse.SetActive(equipmentInfo.CheckUse(GameCenter.mainPlayerMng.MainPlayerInfo) == false);//不可用表现修改
         }
     }
 }