InputManager.GetButton
Method in InputManager
Declaration
public bool GetButton(InputButton button, bool currentState = false)
Description
Checks if the specified input button is performed.
Parameters
button | The input button to read. |
currentState | The current performed state of the button (default=false). |
Returns
bool | True if the input button is performed. |