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
[Flags]
public enum ButtonDeltaState
Fields
| Name | Description | Value |
|---|---|---|
| NoChange | 0 | |
| Pressed | 1 | |
| Released | 2 |