private static void DrawBrushSettingsGroup(TerrainGenerator instance)
        {
            instance.inspector.isColorBrushSettingsGroupExpanded = EditorCommon.GroupFoldout(instance.inspector.isColorBrushSettingsGroupExpanded, "Brush");
            if (instance.inspector.isColorBrushSettingsGroupExpanded)
            {
                EditorGUI.indentLevel += 1;

                ColorPainter.ToolsSettings settings = instance.ColorPainterSettings;
                settings.brushSettings.brushRadius = EditorGUILayout.FloatField("Radius", settings.brushSettings.brushRadius);
                settings.brushSettings.strength    = EditorGUILayout.Slider("Strength", settings.brushSettings.strength, 0f, 1f);
                settings.brushSettings.color       = EditorGUILayout.ColorField("Color", settings.brushSettings.color);

                EditorGUILayout.BeginHorizontal();
                GUILayout.FlexibleSpace();
                if (EditorCommon.Button("Add to Palette"))
                {
                    AddBrushToColorPaletteWindow.Show(instance.ColorPainter);
                }
                if (EditorCommon.Button("Erase All"))
                {
                    ConfirmAndEraseAll(instance);
                }
                EditorGUILayout.EndHorizontal();

                EditorGUI.indentLevel -= 1;
            }
            EditorGUILayout.GetControlRect(GUILayout.Height(1));
        }