Summary
Checks to see if the key is pressed
- Namespace
- SharpInputSystem
- Containing Type
- Keyboard
Syntax
public abstract bool IsKeyDown(KeyCode key)
Parameters
| Name | Type | Description |
|---|---|---|
| key | KeyCode | KeyCode to check |
Return Value
| Type | Description |
|---|---|
| bool | True if the key is pressed |