Click or drag to resize

MouseHandler Class

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

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

The MouseHandler type exposes the following members.

Constructors
  NameDescription
Public methodMouseHandler
Initializes a new instance of the MouseHandler class.
Top
Properties
  NameDescription
Public propertyCoordinatesRemapper
Gets or sets current coordinates remapper.
Public propertyEmulateSecondMousePointer
Gets or sets a value indicating whether second pointer emulation using ALT+CLICK should be enabled.
Top
Methods
  NameDescription
Public methodCancelMousePointer
Cancels the mouse pointer.
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