From UDN case #00655218:
We extensively use the UDeveloperSettings class to automatically register project and editor settings for the different C++ plugins we build. For instance :
UCLASS(config = EditorPerProjectUserSettings)
class UMyPluginSettings : public UDeveloperSettings
{
GENERATED_BODY()
public: // Parent interface
FName GetCategoryName() const override;
#if WITH_EDITOR
FText GetSectionText() const override;
FName GetSectionName() const override;
#endif // WITH_EDITOR
public: // Properties
/** A toggle for my plugin */
UPROPERTY(config, EditAnywhere)
bool bMyPluginToggle
;
};
When a setting changes, our plugin is notified thanks to the OnSettingChanged() delegate. This works well when the user edits or resets a value, but that delegate is not executed when settings are imported from an external INI file.
Is there a way to get notified on settings import ?
Thank you for your help
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-203299 in the post.
0 |
Component | UE - Editor - Workflow Systems |
---|---|
Affects Versions | 5.1 |
Created | Dec 22, 2023 |
---|---|
Updated | Jan 20, 2024 |