Enum TouchState | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023