InputActionEventDataGetButtonDown 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 Input Behavior assigned to this Action.
This also applies to axes being used as buttons.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntaxpublic bool GetButtonDown()
Return Value
BooleanThe button just pressed state
See Also