Enum KeyCode
Lists key codes that you can pass to methods such as GetKey, GetKeyDown, and GetKeyUp.
Namespace: Unity.Tiny.Input
Syntax
public enum KeyCode
Fields
| Name | Description |
|---|---|
| A | |
| Alpha0 | |
| Alpha1 | |
| Alpha2 | |
| Alpha3 | |
| Alpha4 | |
| Alpha5 | |
| Alpha6 | |
| Alpha7 | |
| Alpha8 | |
| Alpha9 | |
| AltGr | |
| Ampersand | |
| Asterisk | |
| At | |
| B | |
| BackQuote | |
| Backslash | |
| Backspace | |
| Break | |
| C | |
| CapsLock | |
| Caret | |
| Clear | |
| Colon | |
| Comma | |
| D | |
| Delete | |
| Dollar | |
| DoubleQuote | |
| DownArrow | |
| E | |
| End | |
| Equals | |
| Escape | |
| Exclaim | |
| F | |
| F1 | |
| F10 | |
| F11 | |
| F12 | |
| F13 | |
| F14 | |
| F15 | |
| F2 | |
| F3 | |
| F4 | |
| F5 | |
| F6 | |
| F7 | |
| F8 | |
| F9 | |
| G | |
| Greater | |
| H | |
| Hash | |
| Help | |
| Home | |
| I | |
| Insert | |
| J | |
| K | |
| Keypad0 | |
| Keypad1 | |
| Keypad2 | |
| Keypad3 | |
| Keypad4 | |
| Keypad5 | |
| Keypad6 | |
| Keypad7 | |
| Keypad8 | |
| Keypad9 | |
| KeypadDivide | |
| KeypadEnter | |
| KeypadEquals | |
| KeypadMinus | |
| KeypadMultiply | |
| KeypadPeriod | |
| KeypadPlus | |
| L | |
| LeftAlt | |
| LeftApple | |
| LeftArrow | |
| LeftBracket | |
| LeftCommand | |
| LeftControl | |
| LeftParen | |
| LeftShift | |
| LeftWindows | |
| Less | |
| M | |
| Menu | |
| Minus | |
| Mouse0 | |
| Mouse1 | |
| Mouse2 | |
| Mouse3 | |
| Mouse4 | |
| Mouse5 | |
| Mouse6 | |
| N | |
| None | |
| Numlock | |
| O | |
| P | |
| PageDown | |
| PageUp | |
| Pause | |
| Period | |
| Plus | |
| Q | |
| Question | |
| Quote | |
| R | |
| Return | |
| RightAlt | |
| RightApple | |
| RightArrow | |
| RightBracket | |
| RightCommand | |
| RightControl | |
| RightParen | |
| RightShift | |
| RightWindows | |
| S | |
| ScrollLock | |
| Semicolon | |
| Slash | |
| Space | |
| SysReq | |
| T | |
| Tab | |
| U | |
| Underscore | |
| UpArrow | |
| V | |
| W | |
| X | |
| Y | |
| Z |