Hi,
I put Quest Log Window prefab into every scene of my game, and they worked well, when new quests/descriptions appear, all the Quest Log Windows will update.
Now I made a map for my game, and I also put the map prefab into every scene, there are two locations at first, new locations will unlock in the map after specfic conversations.
My solution to save the map information is using Dialogue System Trigger's OnSavedDataApplied in every scene, but I think in this way, the map objects in the scenes are all "independent"? And this solution is kind of cumbersome. So is there any easier way to save my own prefab, make it act like Quest Log Window?I've tried Scene-independent Events in dialogue database but failed and I don't know if it is the right way. Thank you for help!
A better way to save prefabs
Re: A better way to save prefabs
Hi,
It's fine to put an instance of your map prefab in every scene. But it will make it easier to add a custom saver component to it that updates the map when you load a saved game or change scenes. See: How To: Write Custom Savers
It's fine to put an instance of your map prefab in every scene. But it will make it easier to add a custom saver component to it that updates the map when you load a saved game or change scenes. See: How To: Write Custom Savers