KeyBy
The class used to request keystrokes in Game Controling
Methods
unityKeyboard
public
static
The type used by projects with Unity Input System to enter the keyboard.
Usage
await gamium.sendKey(KeyBy.unityKeyboard('Space'));
Arguments
- key
keyof
typeof
UnityKeyboard
Returns
unityKeycode
public
static
The type that is used for keyboard input in projects with Unity Input Manager .
Usage
await gamium.sendKey(KeyBy.unityKeycode('Space'));
Arguments
- code
keyof
typeof
UnityKeyCode