/// <summary> /// Raises the inspector GUI event. /// </summary> public override void OnInspectorGUI() { if (GUILayout.Button("Open Sequence")) { Debug.Log("Opening Sequence"); NodeEditor editor = EditorWindow.GetWindow <NodeEditor>(); editor.Repaint(); } }
static void ShowEditor() { NodeEditor editor = EditorWindow.GetWindow <NodeEditor>(); editor.Repaint(); }