/// <summary> /// Draws the Clear button, and clears the prefs if clicked. /// </summary> private void DrawClearButton() { if (GUILayout.Button("Clear", GUILayout.Width(100))) { prefs.Clear(); UniqueIDWindowPrefs.DeleteEditorPrefs(); } }