docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum GestureRecognizerState

    Enumerator that represent the current state a gesture recognizer is in.

    Gesture recognizers recognize a discrete event such as a tap or a swipe but don’t report changes within the gesture. In other words, discrete gestures don’t transition through the Began and Changed states and they can’t fail or be canceled.

    Namespace: Unity.AppUI.Core
    Assembly: Unity.AppUI.dll
    Syntax
    public enum GestureRecognizerState

    Fields

    Name Description
    Began

    The gesture recognizer has received touches recognized as a continuous gesture.

    Canceled

    The gesture recognizer has received touches resulting in the cancellation of a continuous gesture.

    Changed

    The gesture recognizer has received touches recognized as a change to a continuous gesture.

    Ended

    The gesture has ended/failed/been cancelled.

    Failed

    The gesture recognizer has received a multi-touch sequence that it can’t recognize as its gesture.

    Possible

    The current touch configuration is not recognized but still possible.

    Recognized

    The current touch configuration is recognized.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)