We’ll cover how to give scriptable objects ‘memory’ in this video, ensuring their data persists between game sessions. This can be used to save game configuration settings, storing its data in a scriptable object. We’ll serialize these values to a JSON file that you can save to disk. Upon the game’s next launch, these values will be read, parsed, and used to populate the scriptable object, as well as to adjust the controls.
Source Code: Unity Tutorials Persistent Game Settings
Leave a Reply