This enum is used by
InputAction.Type to determine which input data type the InputAction will receive.- Items
- 5
- Uses
- 1
Items5
- The
InputActionwill receive boolean values from button inputs, for exampletrue/falseon press/release from inputs such asKeyCode.ButtonAorKeyCode.E. This setting also exposes theUIButtonproperty on childInputBindings, allowing you to easily hook up press or release of aGuiButtonfor the action. - The
InputActionwill receive numerical values, generally from analog gamepad triggers such asKeyCode.ButtonL2orKeyCode.ButtonR2. This setting also exposes theUpandDownproperties on childInputBindings, allowing for boolean inputs or "1D" inputs as composite directions for the action. - The
InputActionwill receiveVector2values, generally from thumbstick inputs such asKeyCode.Thumbstick1andKeyCode.Thumbstick2. This setting also exposes theUp,Down,Left, andRightproperties on childInputBindings, allowing for "2D" inputs as composite directions for the action. - The
InputActionwill receiveVector3values from inputs assigned to theUp,Down,Left,Right,Forward, and/orBackwardproperties on childInputBindings, allowing for "3D" inputs as composite directions for the action. - The
InputActionwill receiveVector2values representing the absolute pixel (X, Y) coordinates of a pointer input in the viewport.