private SetAllowCursorLock ( bool allow ) : void | ||
allow | bool | |
return | void |
public static extern void SetAllowCursorLock(bool allow);
[MethodImpl(MethodImplOptions.InternalCall)]
private void OnLostFocus() { if (!EditorApplicationLayout.IsInitializingPlaymodeLayout()) { Unsupported.SetAllowCursorLock(false); Unsupported.SetAllowCursorHide(false); } InternalEditorUtility.OnGameViewFocus(false); }