also, create a blueprintCallable function ,that return this setting object, and set all property blueprintreadonly
Wanted to add one more thing here, as for my plugin settings weren’t saved into the packaged build. So in order to make your plugin’s settings save in DefaultEngine.ini you need to change Config to Engine and add defaultconfig:
UCLASS(Config = Engine, defaultconfig, meta=(DisplayName="Currency System"))
class CURRENCYSYSTEMRUNTIME_API UCurrencySetting : public UDeveloperSettings
{ ... }
1 Like