Dialogue UI per interaction?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
DemencjaBBG
Posts: 4
Joined: Mon Oct 10, 2022 8:05 am

Dialogue UI per interaction?

Post 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?
User avatar
Tony Li
Posts: 22131
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue UI per interaction?

Post 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.
Post Reply