PlayerGetButton Method (String) |
Gets the button held state of an Action. This will return TRUE as long as the button is held.
This also applies to axes.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool GetButton(
string actionName
)
Parameters
- actionName
- Type: SystemString
Name of the Action
Return Value
Type:
BooleanThe button held state
See Also