you can set a variable to be config file loaded
e.g.
UPROPERTY(config)
float MaxCameraOffset;
and then in an ini file like default
[/Script/MyGameName.MyClassName]
MaxCameraOffset=8000
Then if i don’t set it, it goes with the value 8000
However, if I want to override, I could do that in the constructor() and set it there.
What I want is the inverse action.
I want to be able to set a default property in the header or cpp file, but if someone decides to change the config file or add it (if it wasn’t there) the config takes priority.
Is there a way to do this? (default in h/cpp, but override-able via config)