PlayerControllerGetButtonDown Method |
Gets the down state of the button. Returns True only on the first frame the button was pressed.
Namespace: Rewired.ComponentsAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntaxpublic bool GetButtonDown(
int index
)
Parameters
- index Int32
- The index of the button.
Return Value
BooleanThe down state of the button.
See Also