public override void OnInspectorGUI() { DialogueContainer dialogueContainer = target as DialogueContainer; EditorGUILayout.BeginVertical(); if (GUILayout.Button("Open Visual Editor")) { DialogueGraph.ShowWindow(dialogueContainer); } DrawDefaultInspector(); EditorGUILayout.EndVertical(); }