PlayerGetButtonDown(Int32) Method |
Gets the button just pressed state of an Action. This will only return TRUE only on the first frame the button is pressed or for the duration of the Button Down Buffer time limit if set in the
InputBehavior assigned to this Action.
This also applies to axes.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntaxpublic bool GetButtonDown(
int actionId
)
Parameters
- actionId Int32
- Id of the Action
Return Value
BooleanThe button just pressed state
See Also