public void UpdateSlot(QSlotType slotType, Sprite iconSprite) { QSlots slot = GetSlot(slotType); slot.itemIcon.sprite = iconSprite; slot.itemIcon.gameObject.SetActive(true); }
public void ClearSlot(QSlotType slotType) { QSlots slot = GetSlot(slotType); slot.itemIcon.gameObject.SetActive(false); }