Getting Started
Last updated
Last updated
Go to Assets > Create > Glitch9 > SerializationSaver > Settings to create a SerializationSaverSettings asset.
Configure the settings according to your project needs, such as specifying the JSON path for backups and enabling autosave
■ SnapBehaviour
Attach the SnapBehaviour script to any GameObject you wish to serialize. Customize the SnapBehaviour script to include any properties or fields you want to be serialized.
■ SnapScriptableObject
Create a new ScriptableObject by extending SnapScriptableObject and define any serializable fields you need.
Backup: Manually trigger a backup of your GameObject or ScriptableObject through the Inspector or programmatically by calling BackupToJson().
Restore: Restore the state of an object from a JSON backup through the Inspector or by calling RestoreFromJson().
AutoSave: Enable auto-saving in SerializationSaverSettings to automatically backup objects when changes are detected.
Open the SnapshotWindow from the Unity Editor to view, restore, or delete snapshots. This window allows you to manage the states of serialized objects with ease.