Click or drag to resize

TouchLayer Methods

The TouchLayer type exposes the following members.

Methods
  NameDescription
Protected methodaddPointer
Called when a pointer is added.
Protected methodAwake
Unity Awake callback.
Protected methodcancelPointer
Called when a pointer is cancelled.
Protected methodcheckHitFilters
Checks the hit filters.
Protected methodcreateProjectionParams
Creates projection parameters.
Public methodGetProjectionParams
Gets the projection parameters of this layer which might depend on a specific pointer data.
Public methodHit
Checks if a point in screen coordinates hits something in this layer.
Protected methodOnDestroy
Unity OnDestroy callback.
Protected methodpressPointer
Called when a layer is pressed over an object detected by this layer.
Protected methodreleasePointer
Called when a pointer is released.
Protected methodremovePointer
Called when a pointer is removed.
Protected methodsetName
Updates pointer layers's name.
Protected methodupdatePointer
Called when a pointer is moved.
Top
See Also