Global input system for keyboard events
Name |
Returns |
Description |
GetKeyDown | Boolean | Returns true during the frame the user starts pressing down the key identified by keyName |
GetKeyUp | Boolean | Returns true during the frame the user releases the key identified by keyName |
GetKey | Boolean | Returns true while the user holds down the key identified by keyName |
Name |
Description |
KeyDown | Fired when any key is pressed, returns the key name as a string |
KeyUp | Fired when any key is released, returns the key name as a string |