struct
DigitalInput
public sealed struct DigitalInput Represents a VR digital input action (e.g. X button)
Properties
| Name | Type | Description |
|---|---|---|
IsPressed | Boolean | The current value of this input - true if pressed, false if not pressed. |
WasPressed | Boolean | The previous value of this input - true if it was pressed, false if it was not pressed. |
Delta | Boolean | How much IsPressed has changed since the last update. |
Active | Boolean | Whether or not this action is currently accessible (if false, then IsPressed will always be false and will never change). |