Click or drag to resize

TouchHandler Class

Unity touch handling implementation which can be embedded and controlled from other (input) classes.
Inheritance Hierarchy
SystemObject
  TouchScript.InputSources.InputHandlersTouchHandler

Namespace:  TouchScript.InputSources.InputHandlers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class TouchHandler : IInputSource, 
	INTERNAL_IInputSource, IDisposable

The TouchHandler type exposes the following members.

Constructors
  NameDescription
Public methodTouchHandler
Initializes a new instance of the TouchHandler class.
Top
Properties
  NameDescription
Public propertyCoordinatesRemapper
Gets or sets current coordinates remapper.
Public propertyHasPointers
Gets a value indicating whether there any active pointers.
Top
Methods
  NameDescription
Public methodCancelPointer
Cancels the pointer.
Public methodDispose
Releases resources.
Public methodINTERNAL_DiscardPointer
Used by TouchManagerInstance to return a pointer to input source. DO NOT CALL IT DIRECTLY FROM YOUR CODE!
Public methodUpdateInput
This method is called by ITouchManager to synchronously update the input.
Public methodUpdateResolution
Forces the input to update its state when resolution changes.
Top
See Also