// サブウィンドウを開く
        public static CharaCellEditorSub WillAppear(CharaCellEditorMain _parent)
        {
            CharaCellEditorSub window = (CharaCellEditorSub)EditorWindow.GetWindow(typeof(CharaCellEditorSub), false);

            window.Show();
            //window.minSize = new Vector2(WINDOW_W, WINDOW_H);
            window.SetParent(_parent);
            window.init();
            return(window);
        }
 void RefreshEditorWindow()
 {
     if (m_subWindow == null)
     {
         m_subWindow = CharaCellEditorSub.WillAppear(this);
     }
     else
     {
         m_subWindow.Focus();
     }
     m_subWindow.init();
 }
        void OpenEditorWindow()
        {
            if (m_subWindow != null)
            {
                m_subWindow.Close();
            }

            if (m_subWindow == null)
            {
                m_subWindow = CharaCellEditorSub.WillAppear(this);
            }
            else
            {
                m_subWindow.Focus();
            }
            m_subWindow.init();
        }