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

Description

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 OnHandTouchStart (HandTarget handTarget)
 Function is called when the hand starts touching this object.
 
void OnHandTouchEnd (HandTarget handTarget)
 Function is called when the hand no longer touches this object.
 

Member Function Documentation

◆ OnHandTouchStart()

void Passer.Humanoid.IHandTouchEvents.OnHandTouchStart ( HandTarget  handTarget)

Function is called when the hand starts touching this object.

Parameters
handTargetThe hand touching the object

◆ OnHandTouchEnd()

void Passer.Humanoid.IHandTouchEvents.OnHandTouchEnd ( HandTarget  handTarget)

Function is called when the hand no longer touches this object.

Parameters
handTargetThe hand which touched the object

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