Help! CanI ask how to Switch Database and Dialogue UI at Runtime in Dialogue System?
Posted: Sat Apr 26, 2025 11:46 pm
Hi, I’m using Dialogue System for Unity and I have a question about switching the database and UI at runtime.
In my scene, I have a shared Dialogue Manager that handles the conversations.
At the beginning of the game, I’m using the default StoryData database for story dialogues, with the NovelDialogue UI.
Later in the game, I enter a Challenge phase, where I want to switch to using ChallengeData as the database and Bubble UI for the conversations.
Currently:
The story part (StoryData + NovelDialogue UI) works perfectly.
I activate different DialogueSystemTrigger GameObjects by enabling/disabling them.
But I have two problems:
Q1.
When I enable the Challenge trigger, how can I also switch the Dialogue Manager’s database to use ChallengeData?
Right now, it stays on StoryData and doesn’t switch automatically.
Q2.
I tried to follow the template and set Custom Panel Settings on the Dialogue Actor to use Bubble UI.
But even with that setup, the Dialogue System still uses the NovelDialogue UI and doesn’t switch to Bubble UI as expected.
Am I missing something about how to correctly change the database and UI at runtime?
What’s the correct workflow to achieve this?
Thank you for your help!
In my scene, I have a shared Dialogue Manager that handles the conversations.
At the beginning of the game, I’m using the default StoryData database for story dialogues, with the NovelDialogue UI.
Later in the game, I enter a Challenge phase, where I want to switch to using ChallengeData as the database and Bubble UI for the conversations.
Currently:
The story part (StoryData + NovelDialogue UI) works perfectly.
I activate different DialogueSystemTrigger GameObjects by enabling/disabling them.
But I have two problems:
Q1.
When I enable the Challenge trigger, how can I also switch the Dialogue Manager’s database to use ChallengeData?
Right now, it stays on StoryData and doesn’t switch automatically.
Q2.
I tried to follow the template and set Custom Panel Settings on the Dialogue Actor to use Bubble UI.
But even with that setup, the Dialogue System still uses the NovelDialogue UI and doesn’t switch to Bubble UI as expected.
Am I missing something about how to correctly change the database and UI at runtime?
What’s the correct workflow to achieve this?
Thank you for your help!