InputManager.GetButtonPressed
Method in InputManager
Declaration
public bool GetButtonPressed(InputButton button)
Description
Checks if the specified input button was pressed this frame.
Parameters
button | The input button to read. |
Returns
bool | True if the input button was pressed this frame. |