The database is loaded in the game
-
- Posts: 1
- Joined: Wed Aug 23, 2023 10:13 pm
The database is loaded in the game
The database is loaded in the game
Last edited by ronnielombard on Fri Apr 25, 2025 12:05 am, edited 6 times in total.
Re: The database is loaded in the game
Hi,
It's possible for multiple databases to be loaded. All loaded databases are merged in memory into DialogueManager.masterDatabase. The property DialogueManager.databaseManager.loadedDatabases will contain the list of loaded databases. The database that's assigned to the Dialogue Manager GameObject's Initial Database field will be loaded first. If you're using an Extra Databases components, they may load databases, too. If you're not using an Extra Databases component or using DialogueManager.AddDatabase() in your scripts, then only the Initial Database will be loaded.
It's possible for multiple databases to be loaded. All loaded databases are merged in memory into DialogueManager.masterDatabase. The property DialogueManager.databaseManager.loadedDatabases will contain the list of loaded databases. The database that's assigned to the Dialogue Manager GameObject's Initial Database field will be loaded first. If you're using an Extra Databases components, they may load databases, too. If you're not using an Extra Databases component or using DialogueManager.AddDatabase() in your scripts, then only the Initial Database will be loaded.