void CarryOutPickupActions(Transform tParent) { if (!CheckIfLocked()) { transform.SetParent(tParent); itemMaster.CallEventObjectPickup(); transform.gameObject.SetActive(false); GameManager_Audio.PlaySFX(pickupSFX); Debug.Log("picking up item"); } }
void CarryOutPickupActions(Transform tParent) { transform.SetParent(tParent); itemMaster.CallEventObjectPickup(); transform.gameObject.SetActive(false); }