Enum TouchState
Describes potential states for the touch point.
Namespace: Unity.Tiny.Input
Syntax
public enum TouchState
Fields
Name | Description |
---|---|
Began | The initial reported state for new touch points. |
Canceled | Specifies that the operating system or an event interrupted the touch interaction. For example if an incoming call causes the the operating system to deliver a a popup message, the application or tab switches from one context to another. |
Ended | Specifies that the touch point is expired. Expired Touch points are reported in Ended state for one frame, before being cleared from the list of registered touches. |
Moved | Specifies that the touch point's position changed between the previous frame and this frame. |
Stationary | Specifies that the touch point's position did not change between the previous frame and this frame. |