Unable to see the response menu for the speech bubble prefab

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
loadexfa
Posts: 2
Joined: Tue May 29, 2018 3:31 am

Unable to see the response menu for the speech bubble prefab

Post by loadexfa »

The speech bubble appears over the NPC as expected but then nothing shows up for the response menu. My dialogue works with other prefabs. Is there a working example/demo of speech bubbles for both NPCs and the PC so I can see what I'm missing?
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unable to see the response menu for the speech bubble prefab

Post by Tony Li »

Hi,

See <b>Examples > Unity UI Examples > World Space UI Example Scene</b>. Private Hart has a child GameObject named "Speech Bubble Canvas With Menu". The menu appears in Private Hart's bubble. It was designed this way in case multiple NPCs are running conversations; it allows you to respond to the correct NPC's conversation. In the upcoming version 2.0 (going into open beta today), you can put the response menu on the NPC or PC.
loadexfa
Posts: 2
Joined: Tue May 29, 2018 3:31 am

Re: Unable to see the response menu for the speech bubble prefab

Post by loadexfa »

From what I can tell, the speech bubble functionality for dialogue has been deprecated in version 2 (at least the template). I need speech bubbled for interactions (not barks) where the bubble is above the speaker in world space. Is this still possible and there an example?

Thanks!
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unable to see the response menu for the speech bubble prefab

Post by Tony Li »

The way speech bubbles were handled in version 1.x is deprecated because version 2.x supports it in a much better way:

1. Add a Dialogue Actor component to the character.

2. Set the Dialogue UI Settings > Subtitle Panel Number dropdown to Custom.

3. Assign Bubble Template Standard UI Subtitle Panel to Dialogue UI Settings > Custom Subtitle Panel.

You can make a copy of the prefab and customize it to look however you want.

Alternatively, if your character already has a bark UI and you'd like to use it, change the dropdown to Use Bark UI instead of Custom.
Post Reply