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