void OnGUI()
        {
            var prevSettings = EditorSettings.current.Clone();

            DrawSettingsPanel(ref EditorSettings.current);
            if (prevSettings.enableTMP != EditorSettings.current.enableTMP)
            {
                if (EditorSettings.current.enableTMP)
                {
                    var enableTMP = AskToEnableTMP();
                    EditorSettings.current.enableTMP = enableTMP;
                    if (enableTMP)
                    {
                        TMPIntegrationSwitcher.Enable();
                    }
                }
                else
                {
                    TMPIntegrationSwitcher.Disable();
                }
            }

            if (EditorSettings.current != prevSettings)
            {
                EditorSettings.SaveEditorSettings();
            }
        }
 static void ResetAllSettings()
 {
     EditorSettings.ResetAll();
     TMPIntegrationSwitcher.Disable();
 }