少年修仙传客户端代码仓库
client_linchunjie
2019-03-26 393cd3da6b454865770312f1fd10e1da2c909d43
3335 神兵石数量显示问题
1个文件已修改
1 ■■■■ 已修改文件
System/Role/MagicianWin.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Role/MagicianWin.cs
@@ -464,6 +464,7 @@
                    var count = packModel.GetItemCountByID(PackType.Item, items[i]);
                    ItemCellModel cellModel = new ItemCellModel(items[i], false, (ulong)count);
                    m_Items[i].Init(cellModel);
                    m_Items[i].countText.text = count.ToString();
                    m_Items[i].countText.color = count > 0 ? UIHelper.GetUIColor(TextColType.Green) : UIHelper.GetUIColor(TextColType.Red);
                    m_Items[i].countText.gameObject.SetActive(true);
                }