private void Awake() { if (ItemDetail != null) { handler = ItemDetail.GetComponent <PacakgeAttributeUI>(); } }
private void Awake() { if (ClearAfterWear != null) { packageHandler = ClearAfterWear.GetComponent <PacakgeAttributeUI>(); } if (UpdateInventory != null) { inventoryHandler = UpdateInventory.GetComponent <InventoryUI>(); } }