/// <summary>
        /// Initializes a new instance of the <see cref="GridMappingPrefabsSettingsMenuItem"/> class.
        /// </summary>
        public static void Draw()
        {
            var local = LocalizationManager.Instance;

            // SettingHelpers.DrawSettingsIntField(GlobalConstants.RecentQuickPrefabButtonColumnsKey, local.Get("SETT_ButtonsPerRow"), 3, 1, int.MaxValue, Helpers.RedrawInspector);
            SettingHelpers.DrawSettingsIntField(GlobalConstants.PrefabButtonsPerRowKey, local.Get("SETT_PrefabButtonsPerRow"), 3, 1, 100, Helpers.RedrawInspector);
            SettingHelpers.DrawSettingsFloatField(GlobalConstants.PrefabButtonSizeKey, local.Get("SETT_PrefabButtonSize"), 64, 1, 100, Helpers.RedrawInspector);

            // get the default value for the resource folder(s)
            var settings     = SettingsManager.Instance;
            var defaultValue = settings.GetSetting(CoreGlobalConstants.ResourceFolderKey, string.Empty);

            if (defaultValue == string.Empty)
            {
                defaultValue = "Codefarts.Unity/GridMappingPrefabIndexFiles";
            }

            GUILayout.Label(local.Get("SETT_PrefabIndexResourceFolder"));
            SettingHelpers.DrawSettingsTextBox(GlobalConstants.PrefabIndexResourceFolderKey, defaultValue, Helpers.RedrawInspector);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="GridMappingAutomaticMaterialCreationSettingsMenuItem"/> class.
        /// </summary>
        public static void Draw()
        {
            if (folderControl == null)
            {
                folderControl = new SelectOutputFolderControl();
                folderControl.SetOutputPath(PlayerPrefs.GetString(GlobalConstants.AutoMaterialCreationFolderKey, string.Empty));
                folderControl.OutputPathChanged += (sender, e) => PlayerPrefs.SetString(GlobalConstants.AutoMaterialCreationFolderKey, folderControl.OutputPath);
            }

            folderControl.Draw();

            var local = LocalizationManager.Instance;

            SettingHelpers.DrawSettingsColorPicker(GlobalConstants.DefaultAutoMaterialCreationColorKey, local.Get("SETT_DefaultTileMaterialCreationColor"), Color.white);
            SettingHelpers.DrawSettingsIntField(GlobalConstants.AutoMaterialCreationDefaultWidthKey, local.Get("SETT_TileMaterialCreationDefaultTileWidth"), 32);
            SettingHelpers.DrawSettingsIntField(GlobalConstants.AutoMaterialCreationDefaultHeightKey, local.Get("SETT_TileMaterialCreationDefaultTileHeight"), 32);
            var items = new[] { local.Get("Hierarchy"), local.Get("Flat") };

            SettingHelpers.DrawSettingsPopup(GlobalConstants.AutoMaterialCreationShaderListStyleKey, local.Get("SETT_HierarchicalMaterialCreationShaderList"), items, 0);
            GUILayout.Label(local.Get("Shaders"));
            SettingHelpers.DrawSettingsTextBox(GlobalConstants.AutoMaterialCreationShadersKey, "Diffuse\r\nTransparent/Diffuse\r\nTransparent/Cutout/Diffuse\r\nTransparent/Cutout/Soft Edge Unlit");
        }