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