Humanoid Control for Unity v4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Passer.Humanoid.IHandGrabEvents Interface Reference

Description

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.
 

Member Function Documentation

◆ OnHandGrabbed()

void Passer.Humanoid.IHandGrabEvents.OnHandGrabbed ( HandTarget  handTarget)

Function is called when the object is grabbed.

Parameters
handTargetThe hand which grabbed the object

◆ OnHandLetGo()

void Passer.Humanoid.IHandGrabEvents.OnHandLetGo ( HandTarget  handTarget)

Function is called when the object is let go.

Parameters
handTargetThe hand which let go the object

The documentation for this interface was generated from the following file: