少年修仙传客户端代码仓库
client_Wu Xijin
2019-03-14 2a241254d505af92f4cde197b0283cd3da20d7c4
System/Compose/New/ComposeMatCell.cs
@@ -63,21 +63,21 @@
        {
            bool isShowMat = itemId != 0 || itemModel != null ? true : false;
            itemCell.gameObject.SetActive(isShowMat);
            itemCell.cellBtn.RemoveAllListeners();
            itemCell.button.RemoveAllListeners();
            itemCell.reducebtn.RemoveAllListeners();
            if (isShowMat)
            {
                if (itemModel != null)
                {
                    itemCell.Init(itemModel);
                    itemCell.cellBtn.AddListener(ClickItemCell);
                    itemCell.button.AddListener(ClickItemCell);
                }
                else
                {
                    ItemCellModel cellModel = new ItemCellModel(itemId);
                    itemCell.Init(cellModel);
                    itemCell.cellBtn.AddListener(ClickItemCell);
                    itemCell.button.AddListener(ClickItemCell);
                }
                switch(matType)