Click or drag to resize

InputSource Methods

The InputSource type exposes the following members.

Methods
  NameDescription
Protected methodaddPointer
Adds the pointer to the system.
Protected methodcancelPointer
Cancels the pointer.
Public methodCancelPointer
Cancels the pointer.
Public methodINTERNAL_DiscardPointer
Used by TouchManagerInstance to return a pointer to input source. DO NOT CALL IT DIRECTLY FROM YOUR CODE!
Protected methodOnDisable
Unity OnDestroy callback.
Protected methodOnEnable
Unity OnEnable callback.
Protected methodpressPointer
Mark the pointer as touching the surface.
Protected methodreleasePointer
Mark the pointer as no longer touching the surface.
Protected methodremapCoordinates
Remaps the coordinates using the CoordinatesRemapper if it is set.
Protected methodremovePointer
Removes the pointer.
Protected methodupdateCoordinatesRemapper
Called from CoordinatesRemapper setter to update touch handlers with the new value.
Public methodUpdateInput
This method is called by ITouchManager to synchronously update the input.
Protected methodupdatePointer
Mark pointer as updated.
Public methodUpdateResolution
Forces the input to update its state when resolution changes.
Top
See Also