| | |
| | | {
|
| | | itemCell.gameObject.SetActive(true);
|
| | | ItemModel itemModel = list[0];
|
| | | if (itemModel.itemInfo.IsBind == 1)
|
| | | string key = StringUtility.Contact(itemModel.itemId, "IsBind", itemModel.itemInfo.IsBind);
|
| | | if (blastFurnace.recycleStrlist.Contains(key))
|
| | | {
|
| | | selectImg.SetActive(true);
|
| | | }
|
| | |
| | | itemCell.cellBtn.RemoveAllListeners();
|
| | | itemCell.cellBtn.AddListener(() =>
|
| | | {
|
| | | if (selectImg.activeInHierarchy)
|
| | | {
|
| | | selectImg.SetActive(false);
|
| | | blastFurnace.RemoveSelectRecycleDan(itemModel);
|
| | | if (selectImg.activeInHierarchy)
|
| | | {
|
| | | selectImg.SetActive(false);
|
| | | blastFurnace.RemoveSelectRecycleDan(itemModel);
|
| | | }
|
| | | else
|
| | | {
|