![]() |
GearBlocks
The GearBlocks Lua scripting API
|
Provides access to input action state. More...
Public Member Functions | |
bool | IsTriggered (int actionID) |
Was an input action triggered? | |
bool | IsHeld (int actionID) |
Is an input action held? | |
Provides access to input action state.
bool SmashHammer.Input.IInputActions.IsTriggered | ( | int | actionID | ) |
Was an input action triggered?
actionID | The ID of the input action to check. |
true
if the input action was triggered this frame; otherwise, false
.bool SmashHammer.Input.IInputActions.IsHeld | ( | int | actionID | ) |
Is an input action held?
actionID | The ID of the input action to check. |
true
if the input action is currently held; otherwise, false
.