public override void OnInspectorGUI() { DrawDefaultInspector(); if (GUILayout.Button("Spell Check")) { RunSpellCheck(); } if (GUILayout.Button("Edit Dialogue")) { DialogueWindow.ShowGraph(target as DialogueGraph); } }