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