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
keyoftypeofUnityKeyboard
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
keyoftypeofUnityKeyCode