Method | Description | |
---|---|---|
CancelTouch ( TouchPoint touch, bool @return ) : bool | ||
Dispose ( ) : void | ||
TouchHandler ( Tags tags, Func |
Initializes a new instance of the TouchHandler class.
|
|
Update ( ) : void |
Updates this instance.
|
Method | Description | |
---|---|---|
internalBeginTouch ( Vector2 position ) : TouchPoint | ||
internalCancelTouch ( int id ) : void | ||
internalEndTouch ( int id ) : void |
public CancelTouch ( TouchPoint touch, bool @return ) : bool | ||
touch | TouchPoint | |
@return | bool | |
return | bool |
public TouchHandler ( Tags tags, Func |
||
tags | Tags | Tags to add to touches. |
beginTouch | Func |
A function called when a new touch is detected. As |
moveTouch | Vector2>.Action | A function called when a touch is moved. As |
endTouch | Action |
A function called when a touch is lifted off. As |
cancelTouch | Action |
A function called when a touch is cancelled. As |
return | System |