docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum TouchPhase

    Phase of a touch event.

    Namespace: UnityEditor.DeviceSimulation
    Assembly: Unity.DeviceSimulator.Editor.dll
    Syntax
    public enum TouchPhase

    Fields

    Name Description
    Began

    A touch has begun. Only the first touch event in any given touch will have this phase.

    Canceled

    A touch has ended in a way other than through user interaction.

    Ended

    A touch has ended. Only the last touch event in a given touch will have this phase.

    Moved

    A touch has changed position.

    Stationary

    A touch has not moved.

    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)