public void ServoUnityKeyEvent(int windowIndex, bool upDown, ServoUnityKeyCode keyCode, int character) { ServoUnityPlugin_pinvoke.servoUnityKeyEvent(windowIndex, upDown ? 1 : 0, (int)keyCode, character); }