keyUp method
- KeyCodes key
Checks if a specific key was released during the current frame.
key: The KeyCodes value to check.
Returns true if the key was released in this frame, false otherwise.
Returns false if key is KeyCodes.Unknown.
Implementation
bool keyUp(KeyCodes key) {
return (key == KeyCodes.Unknown) ? false : _keyUp[key] ?? false;
}