public static void Init() { FlowchartEditorWindow few = GetWindow <FlowchartEditorWindow>(); few.titleContent = new GUIContent("VisualCS Unity"); few.Show(); }
public static void Init(VCSUGraph graph) { if (graph) { FlowchartEditorWindow few = GetWindow <FlowchartEditorWindow>(); few.titleContent = new GUIContent("VisualCS Unity"); few.Load(graph); few.Show(); } }