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+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntax
C#
public bool GetButton()

Return Value

Boolean
The button held state
See Also