// サブウィンドウを開く public static ARIMotionSubWindow ShowEditor(ARIMotionMainWindow parent) { ARIMotionSubWindow window = EditorWindow.GetWindow <ARIMotionSubWindow>(); window.Show(); //window.minSize = new Vector2Int(WINDOW_W, WINDOW_H); window.SetParent(parent); window.init(); return(window); }
//サブウインドウ開く void OpenSubWindow() { if (subWindow_ == null) { subWindow_ = ARIMotionSubWindow.ShowEditor(this); ARIMotionSubWindow.ParentEmit = Emit; } else { subWindow_.Focus(); } }