Humanoid Control for Unity v4
|
Interface for handling touch events on objects.
This interface can be used to receive touch events on objects If you implement this interface on a script which is connected to the object the On.. functions are called at the appropriate times. This enables you to implement behaviour on the object when it is touched.
Public Member Functions | |
void | OnHandCollisionStart (GameObject gameObject, Vector3 contactPoint) |
Function is called when the hand starts touching this object. | |
void | OnHandCollisionEnd (GameObject gameObject) |
Function is called when the hand no longer touches this object. | |
void Passer.Humanoid.IHandCollisionEvents.OnHandCollisionStart | ( | GameObject | gameObject, |
Vector3 | contactPoint | ||
) |
Function is called when the hand starts touching this object.
gameObject | The gameObject the hand is touching |
void Passer.Humanoid.IHandCollisionEvents.OnHandCollisionEnd | ( | GameObject | gameObject | ) |
Function is called when the hand no longer touches this object.
gameObject | The gameObject the hand is touching |