InputActionType
This enum is used by InputAction.Type to determine which input data type the InputAction will receive.
Items 4
History | Name | Value | Description | |
---|---|---|---|---|
661 | Bool | 0 | The InputAction will receive boolean values from button inputs,
for example | |
671 | Direction1D | 1 | The InputAction will receive numerical values, generally from analog gamepad triggers such as KeyCode.ButtonL2 or KeyCode.ButtonR2. This setting also exposes the Up and Down properties on child InputBindings, allowing for boolean inputs or "1D" inputs as composite directions for the action. | |
661 | Direction2D | 2 | The InputAction will receive Vector2 values, generally from thumbstick inputs such as KeyCode.Thumbstick1 and KeyCode.Thumbstick2. This setting also exposes the Up, Down, Left, and Right properties on child InputBindings, allowing for "2D" inputs as composite directions for the action. | |
677 | Direction3D | 3 | The InputAction will receive Vector3 values from inputs assigned to the Up, Down, Left, Right, Forward, and/or Backward properties on child InputBindings, allowing for "3D" inputs as composite directions for the action. |
Removed items 1
History | Name | Value | |
---|---|---|---|
671 | Float | 1 |
Description
This enum is used by InputAction.Type to determine which input data type the InputAction will receive.
History 7
- 677 Add Direction3D
- 671 Remove Float
- 671 Add Direction1D
- 661 Add Float
- 661 Add Direction2D
- 661 Add Bool
- 661 Add InputActionType