Page 1 of 1

Dialogue UI per interaction?

Posted: Wed May 03, 2023 10:19 am
by DemencjaBBG
Hello, I'm developing a game and I would like to be able to display the player's internal dialogue. The player speaks to himself. And the player should be able to talk to NPCs. The problem arises when I want to create two different UIs for different interactions. Is it possible to make different UI for different interactions?

For example:
Internal Dialogue: Letterbox Template Standard Dialogue UI
NPC Conversation: Circle Standard Dialogue UI

Additional question, should there be only one DataBase per project or per NPC?

Re: Dialogue UI per interaction?

Posted: Wed May 03, 2023 10:52 am
by Tony Li
Hi,

Ideally, there should be one database for the whole project. The Dialogue System supports multiple databases, but see: Working With Multiple Databases first.

For the player's internal dialogue, see: How To: Set Up Player Monologues. In particular, you may want to create a Monologue GameObject (often as a child of the Dialogue Manager GameObject), use it for player internal dialogue, and add an Override Dialogue UI component to it to use a different dialogue UI.