少年修仙传客户端代码仓库
Client_PangDeRong
2018-10-12 ce2579fc8472b568472a4523fbfc323d82dbec29
4144 【前端】人物粉色品质防具装备的合成与拆解
1个文件已修改
22 ■■■■■ 已修改文件
System/Compose/New/ComposeEquipWin.cs 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Compose/New/ComposeEquipWin.cs
@@ -24,6 +24,8 @@
        [SerializeField]
        Text successRateText;
        [SerializeField] Text dismantleText;
        [SerializeField]
        Button helpBtn;
@@ -177,8 +179,8 @@
        private void CreateCell()
        {
            dismantleText.gameObject.SetActive(false);
            cellCtrl.Refresh();
            if(curSecondType == 0)
            {
                ChangeUIState(true, false,false);
@@ -366,6 +368,24 @@
                ItemCompoundConfig tagItemCompound = thirdTypelist[curComposeEquipIndex];
                ClickEquipTypeCell(tagItemCompound, curComposeEquipIndex);
            }
            if(thirdTypelist.Count > 1)
            {
                ItemConfig itemConfig = Config.Instance.Get<ItemConfig>(thirdTypelist[0].makeID);
                if (itemConfig != null && itemConfig.ItemColor == 6)
                {
                    dismantleText.gameObject.SetActive(true);
                }
                else
                {
                    dismantleText.gameObject.SetActive(false);
                }
            }
            else
            {
                dismantleText.gameObject.SetActive(false);
            }
        }
        private void RefreshEquipTypeLineCell(ScrollerDataType type, CellView cell)