| System/Equip/EquipSlotBehaviour.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
System/Equip/EquipSlotBehaviour.cs
@@ -106,8 +106,10 @@ m_SlotName.gameObject.SetActive(false); m_Icon.SetSprite(equip.config.IconKey); m_IconFrame.SetItemBackGround(equip.config.ItemColor); var starLevel = starModel.GetEquipStarLevel(slot.equipPosition); m_Star.gameObject.SetActive(true); m_Star.text = string.Format("{0}星", starModel.GetEquipStarLevel(slot.equipPosition)); m_Star.text = starLevel > 1 ? string.Format("{0}星", starLevel) : ""; } } }