Hi,
I was wondering if anyone knows how to save non dialogue system objects and scripts using the save system in dialogue manager and how to load it on start?
Saving Playerdata using the save system
Re: Saving Playerdata using the save system
Hi,
If you want to save non-Dialogue System data in a saved game, you can use the Dialogue System's save system. Create a Saver script and add it to the scene. To start, duplicate the SaverTemplate.cs script. Then fill in your code where the comments indicate. Examine some of the existing Saver scripts, such as PositionSaver and EnabledSaver, to see examples.
If you want to save other data such as audio volume preferences that aren't specific to a saved game, don't use the save system. Instead, use PlayerPrefs or something like that.
If you want to save non-Dialogue System data in a saved game, you can use the Dialogue System's save system. Create a Saver script and add it to the scene. To start, duplicate the SaverTemplate.cs script. Then fill in your code where the comments indicate. Examine some of the existing Saver scripts, such as PositionSaver and EnabledSaver, to see examples.
If you want to save other data such as audio volume preferences that aren't specific to a saved game, don't use the save system. Instead, use PlayerPrefs or something like that.