public static FlowEditorWindow Open()
        {
            FlowEditorWindow window = GetWindow <FlowEditorWindow>("Flow Editor", true);

            window.minSize        = new Vector2(fWindowMinWidth, fWindowMinHeight);
            window.wantsMouseMove = true;
            return(window);
        }
Example #2
0
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();

            if (GUILayout.Button("Edit"))
            {
                FlowEditorWindow window = FlowEditorWindow.Open();
                window.CreateGraph(target);
            }
        }