Humanoid Control for Unity v4
|
Interface for handling grabbing events on objects.
This interface can be used to receive grabbing events on grabbable objects If you implement this interface on a script which is connected to the grabbable object the On.. functions are called at the appropriate times. This enables you to implement behaviour on the object when it is grabbed or let go.
Public Member Functions | |
void | OnHandGrabbed (HandTarget handTarget) |
Function is called when the object is grabbed. | |
void | OnHandLetGo (HandTarget handTarget) |
Function is called when the object is let go. | |
void Passer.Humanoid.IHandGrabEvents.OnHandGrabbed | ( | HandTarget | handTarget | ) |
Function is called when the object is grabbed.
handTarget | The hand which grabbed the object |
void Passer.Humanoid.IHandGrabEvents.OnHandLetGo | ( | HandTarget | handTarget | ) |
Function is called when the object is let go.
handTarget | The hand which let go the object |