A better way to save prefabs
Posted: Mon Mar 10, 2025 3:00 am
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!
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!