Method | Description | |
---|---|---|
IsKeyDown ( KeyCode key ) : bool |
Returns a value indicating if a given key is pressed.
|
Method | Description | |
---|---|---|
GetKeyState ( int key ) : short |
public static IsKeyDown ( KeyCode key ) : bool | ||
key | KeyCode | The key to check. |
return | bool |