protected virtual void DrawGUI() { TopBarPanel.Draw(this, this, this, this); var constellationName = nodeTabPanel.Draw(scriptDataService.currentPath.ToArray(), CurrentEditedInstancesName); if (constellationName != null) { Open(constellationName); } var constellationToRemove = nodeTabPanel.ConstellationToRemove(); scriptDataService.CloseOpenedConstellation(constellationToRemove); if (constellationToRemove != "" && constellationToRemove != null) { Recover(); } EditorGUILayout.BeginHorizontal(); EditorGUILayout.BeginVertical(); nodeEditorPanel.DrawNodeEditor(new Rect(0, 35, position.width - nodeSelectorWidth - splitThickness, position.height - 35)); EditorGUILayout.EndVertical(); DrawVerticalSplit(); nodeSelector.Draw(nodeSelectorWidth, position.height - 50); EditorGUILayout.EndHorizontal(); RepaintIfRequested(); }
protected virtual void DrawGUI() { TopBarPanel.Draw(this, this, this); var constellationName = nodeTabPanel.Draw(scriptDataService.currentPath.ToArray()); if (constellationName != null) { Open(constellationName); } scriptDataService.RemoveOpenedConstellation(nodeTabPanel.ConstellationToRemove()); EditorGUILayout.BeginHorizontal(); EditorGUILayout.BeginVertical(); nodeEditorPanel.DrawNodeEditor(position.width - nodeSelectorWidht, position.height - 35); EditorGUILayout.EndVertical(); nodeSelector.Draw(nodeSelectorWidht, position.height - 50); EditorGUILayout.EndHorizontal(); RepaintIfRequested(); }