private void OpenUserControl(System.Windows.Controls.Grid view, double width = 420, double height = 480) { var window = new BaseEditorWindow(); window.DataContext = view.DataContext; window.SetUserControl(view); window.Owner = System.Windows.Application.Current.MainWindow; window.ResizeMode = ResizeMode.NoResize; window.Width = width; window.Height = height; window.ShowDialog(); }
protected void ShowSubView() { ContentType tContentType = (ContentType)mTopTabSlectIndex; BaseEditorWindow tSubEW = mSubEWDic[tContentType]; if (tSubEW == null) { GUILayout.Label("相关功能未实现,待扩展", "NotificationBackground"); return; } tSubEW.OnGUI(); }
public static void OpenWindow(BaseEditorWindow win) { EditorPrefs.SetString(KEY_STR_CU_EDT, win.Name); }
public NodeView(Node xNode, BaseEditorWindow xSourceWindow) : base(xSourceWindow) { m_node = xNode; }
public BehaviourTreeMenuView(BaseEditorWindow xSourceWindow) : base(xSourceWindow) { }
public NodeEditorView(BaseEditorWindow xSourceWindow) : base(xSourceWindow) { }