public void Refresh(ItemData itemData, int sc) { _itemData = itemData; itemName.text = Localization.instance.Get(_itemData.nameIds); money.text = sc.ToString(); if (itemData.type == ItemType.sc) { slot.gameObject.SetActive(false); } else { slot.gameObject.SetActive(true); slot.Refresh(_itemData.id, 1); } }
void Refresh() { exhibitionItem.Refresh(_itemData.id, 0); }
void RefreshTexture() { exhibitionItem.Refresh(_itemData.id, _currentCount); }