KeyEventManagerUnregisterKeyEvent Method |
Unregister a key event.
Namespace:
IBM.Watson.DeveloperCloud.Utilities
Assembly:
unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic bool UnregisterKeyEvent(
KeyCode key,
KeyModifiers modifiers = KeyModifiers.NONE,
string eventType = ""
)
Parameters
- key
- Type: KeyCode
The KeyCode to unregister. - modifiers (Optional)
- Type: IBM.Watson.DeveloperCloud.UtilitiesKeyModifiers
Additional keys that must be down as well to fire the event. - eventType (Optional)
- Type: SystemString
If provided, then the key will be unregistered only the event matches the existing registration.
Return Value
Type:
BooleanTrue is returned on success.
See Also