I have a different Dialogue Database for each scene in my game. Is there an easy way to clear all the content from the database (e.g. actors, conversations)? I want to retain the dialogue settings between scenes (Display settings), but have different actors and conversations.
Thanks.
Clear Database
Re: Clear Database
Hi,
You can do it in code, or by unticking your Dialogue Manager's Other Settings > Don't Destroy On Load checkbox, but the easiest way is to:
1. Assign an empty database to the Dialogue Manager's Initial Database field. (Or a database that has any info you want to share across scenes.)
2. Add an Extra Databases component to a GameObject in each scene.
You can do it in code, or by unticking your Dialogue Manager's Other Settings > Don't Destroy On Load checkbox, but the easiest way is to:
1. Assign an empty database to the Dialogue Manager's Initial Database field. (Or a database that has any info you want to share across scenes.)
2. Add an Extra Databases component to a GameObject in each scene.
- Set Remove Trigger to On Destroy.
- Assign the scene's dialogue database to it.