UnityEditor.Unsupported.SetAllowCursorHide C# (CSharp) Method

SetAllowCursorHide() private method

private SetAllowCursorHide ( bool allow ) : void
allow bool
return void
        public static extern void SetAllowCursorHide(bool allow);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

示例#1
0
 private void OnLostFocus()
 {
     if (!EditorApplicationLayout.IsInitializingPlaymodeLayout())
     {
         Unsupported.SetAllowCursorLock(false);
         Unsupported.SetAllowCursorHide(false);
     }
     InternalEditorUtility.OnGameViewFocus(false);
 }
All Usage Examples Of UnityEditor.Unsupported::SetAllowCursorHide