少年修仙传客户端代码仓库
client_Wu Xijin
2019-03-27 d01701705c8e7ca71a6726643d0a30182a949ba3
3335 装备界面0星不显示星级

(cherry picked from commit 31a2f41eb5279bf6057978d84875f4e509b706f5)
1个文件已修改
4 ■■■ 已修改文件
System/Equip/EquipSlotBehaviour.cs 4 ●●● 补丁 | 查看 | 原始文档 | 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) : "";
                }
            }
        }