private void CreateViews() { if (currentWindow != null) { currentWindow.listView = new ListView(); currentWindow.graphView = new GraphView(); currentWindow.propertiesView = new PropertiesView(); } else { currentWindow = (TreeEditorWindow)EditorWindow.GetWindow <TreeEditorWindow> (); } }
public static void ShowTreeEditorWindow() { currentWindow = (TreeEditorWindow)EditorWindow.GetWindow <TreeEditorWindow> (); }