Page 1 of 1
Unable to see the response menu for the speech bubble prefab
Posted: Tue May 29, 2018 3:38 am
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?
Re: Unable to see the response menu for the speech bubble prefab
Posted: Tue May 29, 2018 7:58 am
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.
Re: Unable to see the response menu for the speech bubble prefab
Posted: Sun Sep 09, 2018 3:21 pm
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!
Re: Unable to see the response menu for the speech bubble prefab
Posted: Sun Sep 09, 2018 3:53 pm
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.