ActionState<'Action> Type
Runtime state tracking which actions are currently active.
ActionState is the "output" of the input mapping system. It tells you which actions are held, just started, or just released.
Example
if actionState.Started.Contains Jump then
// Player just pressed jump this frame
if actionState.Held.Contains MoveLeft then
// Player is holding left
Record fields
| Record Field |
Description
|
Actions currently being held down.
|
|
|
|
Actions that ended (released) this frame.
|
|
Actions that started (pressed) this frame.
|
|
Analog values for actions (0.0 to 1.0). Used for triggers/thumbsticks.
|
Mibo