TouchLayer Methods |
The TouchLayer type exposes the following members.
Name | Description | |
---|---|---|
![]() | addPointer |
Called when a pointer is added.
|
![]() | Awake |
Unity Awake callback.
|
![]() | cancelPointer |
Called when a pointer is cancelled.
|
![]() | checkHitFilters |
Checks the hit filters.
|
![]() | createProjectionParams |
Creates projection parameters.
|
![]() | GetProjectionParams |
Gets the projection parameters of this layer which might depend on a specific pointer data.
|
![]() | Hit |
Checks if a point in screen coordinates hits something in this layer.
|
![]() | OnDestroy |
Unity OnDestroy callback.
|
![]() | pressPointer |
Called when a layer is pressed over an object detected by this layer.
|
![]() | releasePointer |
Called when a pointer is released.
|
![]() | removePointer |
Called when a pointer is removed.
|
![]() | setName |
Updates pointer layers's name.
|
![]() | updatePointer |
Called when a pointer is moved.
|