docs.unity.cn
    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
    Syntax
    public enum ButtonDeltaState : int

    Fields

    Name Description Value
    NoChange

    No change since last time checked.

    Pressed

    Button pressed since last time checked.

    Released

    Button released since last time checked.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Wednesday, October 27, 2021