少年修仙传客户端代码仓库
client_Zxw
2018-10-12 902c694bcab0b474f83f3eae5cf5dc1cf180f593
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
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)