UnityEditor.EditorApplicationLayout.IsInitializingPlaymodeLayout C# (CSharp) Méthode

IsInitializingPlaymodeLayout() static private méthode

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

Usage Example

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