/// <summary>
 /// 从缓存中移除一个编辑器窗口
 /// </summary>
 /// <param name="window"></param>
 public static void RemoveEditorWindow(EditorWindowBase window)
 {
     if (windowList.Contains(window))
     {
         windowList.Remove(window);
         SortWinList();
     }
 }
 /// <summary>
 /// 添加一个编辑器窗口到缓存中
 /// </summary>
 /// <param name="window"></param>
 public static void AddEditorWindow(EditorWindowBase window)
 {
     if (!windowList.Contains(window))
     {
         windowList.Add(window);
         SortWinList();
     }
 }
 /// <summary>
 /// 从缓存中移除一个重复弹出的编辑器窗口
 /// </summary>
 /// <param name="window"></param>
 public static void RemoveRepeateWindow(EditorWindowBase window)
 {
     repeateWindowPriroty--;
     window.Priority = repeateWindowPriroty;
     RemoveEditorWindow(window);
 }
 /// <summary>
 /// 添加一个重复弹出的编辑器窗口到缓存中
 /// </summary>
 /// <param name="window"></param>
 public static void AddRepeateWindow(EditorWindowBase window)
 {
     repeateWindowPriroty++;
     window.Priority = repeateWindowPriroty;
     AddEditorWindow(window);
 }