I would like to know if it's ok to use classes that extend Resource and use ResourceSaver/ResourceLoader at runtime to implement user settings? From the docs I'm getting the idea that it wouldn't work in an exported project, but it would be way more convenient to just @export vars than to use e.g. ConfigFile (manually loading and saving variables is, as they say, tedious and error-prone).
#Loading/saving resources at runtime
3 messages · Page 1 of 1 (latest)
Yeah it should work, interesting approach tho.
The only drawback I can think of is that you dont get a plain text config file.
So if there's a setting that prevents some users from running the game or even get into the options menu, the won't be able to change it manually.
Oops, seems like storing it as *.res instead of *.tres will make it plain text.
Learning something new every day..