GetKey
Returns true while the user holds down the key identified by the key KeyCode enum parameter.
Declaration
public static bool GetKey(KeyCode key)
Summary
Parameters
Overload
public static bool GetKey(string name)
Summary
Parameters
| Name | Type | Summary |
|---|
| name | string | |
Returns true while the user holds down the key identified by the key KeyCode enum parameter.