docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum ButtonDeltaState

    A series of flags to determine if a button has been pressed or released since the last time checked. Useful for identifying press/release events that occur in a single frame or sample.

    Namespace: UnityEngine.XR.Interaction.Toolkit.UI
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    [Flags]
    public enum ButtonDeltaState

    Fields

    Name Description
    NoChange

    No change since last time checked.

    Pressed

    Button pressed since last time checked.

    Released

    Button released since last time checked.

    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)