예제 #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");
     }
 }
예제 #2
0
 void CarryOutPickupActions(Transform tParent)
 {
     transform.SetParent(tParent);
     itemMaster.CallEventObjectPickup();
     transform.gameObject.SetActive(false);
 }