2D World Space Dialogue UI Example
Posted: Wed Apr 12, 2017 2:20 pm
A Dialogue System user recently asked for an example of a 2D cartoon bubble style dialogue UI that appears above the NPC's head and to the left or right (depending on the position of the player) of the NPC's head.
Here's an example scene that demonstrates a UI similar to what's described: 2DClickTriggerExample.unitypackage
It's also available on the Extras page. When you import the package, the example scene will be in Assets / Dialogue System Examples / 2D Click Example / 2D Click Example Bubble UI. It uses the Dialogue System's built-in Unity UI Dialogue UI functionality. It uses a world space canvas positioned above the NPC. The Subtitle Line (UI Text element) also has a typewriter effect component. The folder includes a short README file explaining how it's set up.
Here's an example scene that demonstrates a UI similar to what's described: 2DClickTriggerExample.unitypackage
It's also available on the Extras page. When you import the package, the example scene will be in Assets / Dialogue System Examples / 2D Click Example / 2D Click Example Bubble UI. It uses the Dialogue System's built-in Unity UI Dialogue UI functionality. It uses a world space canvas positioned above the NPC. The Subtitle Line (UI Text element) also has a typewriter effect component. The folder includes a short README file explaining how it's set up.