virtual protected void PICKUP_DROPReleased(VRInteractor hand) { if (hand.heldItem == null || toggleToPickup || hand.vrInput.ActionPressed("PICKUP") || hand.vrInput.ActionPressed("ACTION") || hand.vrInput.ActionPressed("PICKUP_DROP")) { return; } hand.Drop(); }
virtual protected void DROP(VRInteractor hand) { if (hand.heldItem == null) { return; } hand.Drop(); }
virtual protected void PICKUP_DROP(VRInteractor hand) { if (hand.heldItem == null) { hand.TryPickup(); } else if (toggleToPickup) { hand.Drop(); } }