UnityEditor.EditorApplicationLayout.IsInitializingPlaymodeLayout C# (CSharp) Method

IsInitializingPlaymodeLayout() static private method

static private IsInitializingPlaymodeLayout ( ) : bool
return bool
        internal static bool IsInitializingPlaymodeLayout()
        {
            return (m_GameView != null);
        }

Usage Example

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