Click or drag to resize

InputActionEventDataGetButton Method

Gets the button held state of an Action. This will return TRUE as long as the button is held. This also applies to axes being used as buttons.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool GetButton()

Return Value

Type: Boolean
The button held state
See Also