public static void RemoveWindow(RuntimeEditorWindow window)
 {
     if (m_windows != null)
     {
         m_windows.Remove(window);
     }
 }
 public static void ActivateWindow(RuntimeEditorWindow window)
 {
     if (m_activeWindow != window)
     {
         m_activeWindow = window;
         if (ActiveWindowChanged != null)
         {
             ActiveWindowChanged();
         }
     }
 }
 public static void PointerExit(RuntimeEditorWindow window)
 {
     if (m_pointerOverWindow == window && m_pointerOverWindow != null)
     {
         m_pointerOverWindow = null;
         if (PointerOverWindowChanged != null)
         {
             PointerOverWindowChanged();
         }
     }
 }
        public static void Reset()
        {
            m_windows           = new List <RuntimeEditorWindow>();
            m_pointerOverWindow = null;
            m_activeWindow      = null;
            m_activeCameraIndex = 0;
            GameCameras         = null;
            SceneCameras        = null;
            m_isOpened          = false;
            m_isPlaying         = false;

            EditorSelection.objects = null;
            EditorUndo.Reset();
            RuntimeTools.Reset();
        }
 public static void AddWindow(RuntimeEditorWindow window)
 {
     m_windows.Add(window);
 }
 public static bool IsActiveWindow(RuntimeEditorWindow window)
 {
     return(m_activeWindow == window);
 }
 public static bool IsPointerOverWindow(RuntimeEditorWindow window)
 {
     return(m_pointerOverWindow == window);
 }