Beispiel #1
0
        private void ShowGraphEditor()
        {
            // Open an editor for this graph
            GraphEditorWindow window = CreateInstance <GraphEditorWindow>();

            // TODO: Ensure only one window instance per-graph is open

            window.Show();
            window.Load(target as Graph);
        }
Beispiel #2
0
        protected virtual void ShowGraphEditor()
        {
            // Open an editor for this graph
            GraphEditorWindow window = CreateInstance <GraphEditorWindow>();

            // TODO: Ensure only one window instance per-graph is open
            window.make_side_menu = BuildSideMenu;
            window.Show();
            window.Load(target as Graph);
        }