2D World Space status indicators

For this example, we will start a new scene. For you to not have to build out the scene, we will start with an Asset package that includes all the required items.

We'll create UI that allows a character to have a status indicator pop up above his head. After the scene has played for 3 seconds, a status-indicating button will appear over his head. Once the player clicks on the status indicator, a dialog will appear. After 5 seconds, the dialog will disappear. The status indicator will re-appear 10 seconds later.

The art used in this example was accessed from https://opengameart.org/content/medieval-rts-120 ...

Get Mastering UI Development with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.