-
Notifications
You must be signed in to change notification settings - Fork 0
Data Management
yart edited this page Nov 13, 2025
·
1 revision
There's a DataFile component that lets you store any type of JSON-serializable data in a file and have it auto-save and load on start.
You can take a look at the Settings component for an example of how to implement your own data file, or inherit it directly.
A data file can have a variable file path such as with the SaveData component. It uses your Steam ID and a custom profile name, though it requires you to specify that in a different component.
Not done yet either but you'll be able to just slap a [Setting(id, ..)] attribute on a static property and have it automatically saved and loaded.
You'll also be able to open a UI to see them all listed and categorized and blah blah.