private void Awake() { itemButton = GetComponent <Button>(); itemText = GetComponentInChildren <TMP_Text>(); amountWidget = GetComponentInChildren <ItemSlotAmountWidget>(); equipWidget = GetComponentInChildren <ItemSlotEquipWidget>(); }
private void Awake() { itemButton = GetComponent <Button>(); itemText = GetComponentInChildren <TMP_Text>(); amountWidget = GetComponentInChildren <ItemSlotAmountWidget>(); equipWidget = GetComponentInChildren <ItemSlotEquipWidget>(); }