public static void OpenUI()
 {
     if (wnd == null)
     {
         wnd = GetWindow <ProfileEditorIMGUI>();
         wnd.titleContent = new GUIContent("VFS Profile");
         wnd.minSize      = new Vector2(424, 599);
         wnd.maxSize      = new Vector2(425, 600);
         Rect pos = wnd.position;
         pos.width    = 425;
         pos.height   = 600;
         wnd.position = pos;
     }
     else
     {
         wnd.Show();
         wnd.Focus();
     }
 }
 private void OnDestroy()
 {
     ProfileEditorIMGUI.wnd = null;
 }