static void OpenWindow() { SystemVisualizer window = (SystemVisualizer)EditorWindow.GetWindow(typeof(SystemVisualizer)); window.titleContent = new GUIContent("Systems"); window.Init(); window.Show(); }
public void TraverseDrawLine(Dictionary <string, SystemVisualizerNode> linkDict, float scroll) { foreach (var next in this.dependant.UpdateBefore) { var nextNode = linkDict[next.FullName]; SystemVisualizer.DrawNodeCurve(this.rect, nextNode.rect, scroll); nextNode.TraverseDrawLine(linkDict, scroll); } }