1. Add this prefab as a child GameObject of your NPC:
Plugins / Pixel Crushers / Dialogue System / Prefabs / Standard UI Prefabs / Template / Bubble / Bubble Template Standard UI Subtitle Panel
2. Add a Dialogue Actor component to your NPC.
- Set the Actor dropdown to the NPC's actor.
- Change Dialogue UI Settings > Subtitle Panel Number to Custom.
- Assign the NPC's child Bubble Template Standard UI Subtitle Panel to the Custom Subtitle Panel field.
By adding an instance to the scene as a child of NPC, you can see it to be able to customize it in relation to your NPC. However, you can assign a prefab to the Custom Subtitle Panel field instead of adding a scene instance if you prefer:
Note: Your Dialogue Manager's main dialogue UI should be a Standard Dialogue UI. (The dialogue UI that's assigned to the Diaogue Manager by default is a Standard Dialogue UI.)
The Basic Standard Dialogue UI only shows UI elements when a subtitle panel or menu panel is visible. If your regular dialogue UI shows UI elements -- such as a UI frame image on the Dialogue Panel GameObject -- when subtitle panels and menu panels are not visible, then add an Override Dialogue UI component to the actor's GameObject, and assign Basic Standard Dialogue UI to it.
The Dialogue System Extras page has some example scenes. (Search for "BubbleSubtitleExample".)
Alternatively, use the Lively Chat Bubbles integration.
Related: