private void AllowCursorLockAndHide(bool enable) { Unsupported.SetAllowCursorLock(enable); Unsupported.SetAllowCursorHide(enable); }