Hi,
I want to use the dialogue system for a couple different types of dialog, with radically different UIs. What's the best way to switch those? Should I actually create multiple UIs and switch them in the Dialogue System Controller at runtime, or have one big UI that deals with switching the look and feel internally?
Thanks,
Johnnemann
What's the best way to have multiple dialogue UIs?
-
- Posts: 12
- Joined: Tue Oct 06, 2015 2:00 pm
Re: What's the best way to have multiple dialogue UIs?
Hi Johnnemann,
The easiest way is to use Override Dialogue UI components. If a conversation participant has this component, it will temporarily override the default dialogue UI defined on the Dialogue Manager. There's also an Override Display Settings component if you want to override more than just the dialogue UI.
In the Feature Demo example scene, the Terminal GameObject uses this to run its conversation using a computer-style UI instead of the sci-fi conversation UI used by the rest of the scene.
If that doesn't fit your needs, then assign the UI using DialogueManager.UseDialogueUI(gameObject). You need to do this before starting the conversation.
The easiest way is to use Override Dialogue UI components. If a conversation participant has this component, it will temporarily override the default dialogue UI defined on the Dialogue Manager. There's also an Override Display Settings component if you want to override more than just the dialogue UI.
In the Feature Demo example scene, the Terminal GameObject uses this to run its conversation using a computer-style UI instead of the sci-fi conversation UI used by the rest of the scene.
If that doesn't fit your needs, then assign the UI using DialogueManager.UseDialogueUI(gameObject). You need to do this before starting the conversation.
-
- Posts: 12
- Joined: Tue Oct 06, 2015 2:00 pm
Re: What's the best way to have multiple dialogue UIs?
Perfect, thank you!