PlayerControllerGetButtonDown Method |
Gets the down state of the button. Returns True only on the first frame the button was pressed.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool GetButtonDown(
int index
)
Parameters
- index
- Type: SystemInt32
The index of the button.
Return Value
Type:
BooleanThe down state of the button.
See Also