Watson Unity SDK
Watson Unity SDK
IBM.Watson
IBM.Watson.DeveloperCloud.Utilities
KeyEventManager Class
KeyEventManager Methods
RegisterKeyEvent Method
UnregisterKeyEvent Method
KeyEventManager
RegisterKeyEvent Method
Register a key event.
Namespace:
IBM.Watson.DeveloperCloud.Utilities
Assembly:
unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
bool
RegisterKeyEvent
(
KeyCode
key
,
KeyModifiers
modifiers
,
string
eventType
)
Parameters
key
Type:
KeyCode
The KeyCode of the key.
modifiers
Type:
IBM.Watson.DeveloperCloud.Utilities
KeyModifiers
KeyCode modifiers
eventType
Type:
System
String
The event to send.
Return Value
Type:
Boolean
True is returned on success.
See Also
Reference
KeyEventManager Class
IBM.Watson.DeveloperCloud.Utilities Namespace