Save Version
5_ScriptableSave
Last updated
5_ScriptableSave
Last updated
You might have noticed that I added a Version int in the SaveData. This is an example, but it's a great way to detect if a save file is from an older version.
For developers who have worked on live games, when you add a new feature or refactor some elements, the save data structure might change. In these cases, you need to upgrade the old data structure to the new one. Scriptable Save provides two methods that you can override to suit your needs: