private void PickupBaby(BabyMovement babyMovement) { babyMovement.WasPickedUp(); gameObject.GetComponent <AudioSource> ().Play(); heldBaby = babyMovement; currentBehavior = DingoBehaviorState.LeavingWithBaby; }
public void PickupBaby(BabyMovement babyMovement) { babyMovement.WasPickedUp(); heldBaby = babyMovement; holdingState = PlayerHoldingState.Baby; }