Page 1 of 1

The database is loaded in the game

Posted: Wed Aug 23, 2023 10:32 pm
by ronnielombard
The database is loaded in the game

Re: The database is loaded in the game

Posted: Wed Aug 23, 2023 11:08 pm
by Tony Li
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.