private static void OpenWindow() { NodeBaseEditor window = GetWindow <NodeBaseEditor>(); window.titleContent = new GUIContent("Node Base Editor"); Current = window; }
public static void Open(NodeScript graph) { if (!graph) { return; } NodeBaseEditor w = GetWindow(typeof(NodeBaseEditor), false, "Node Base Editor", true) as NodeBaseEditor; Current = w; w.owner = graph; w.wantsMouseMove = true; w.LoadData(); }