User Game Developer Settings
See UGameUserSettings.
Per Editor User Developer Settings
Thanks for Northstar for the example.
UCLASS(Config = EditorPerProjectUserSettings, DefaultConfig) class UMyFrameworkLocalDevSettings : public UDeveloperSettingsThis will go into Editor preferences and write to
DefaultEditorPerProjectUserSettings.iniinSaved/which shouldn’t be committed
Plugin Developer Settings
Override GetCategoryName and return Plugins.
If your class is an Editor module it will appear in the Editor Preferences and Project Settings
In the UCLASS macro, specify a correct Config value
Miscs
Custom category
To have a custom Config/DefaultMyCustomCategory you can do UCLASS(Config=MyCustomCategory, defaultconfig).
To make the custom category name in the editor/project settings, override CategoryName in the developer settings constructor.
Saving Developer Settings manually
If you are editing the CDO using a mutable ptr, you must use TryUpdateDefaultConfigFile() to write to .ini file.
This works for Developer Settings classes with defaultconfig in the UCLASS