Laying out a basic HUD

We will make a HUD that will look like the following:

It will be expanded upon in the upcoming chapters, but, for now, it'll have a pretty simple layout that will focus on parent–child relationships and anchor/pivot point placement.

To create the HUD shown in the preceding image, complete the following steps:

  1. Create a new Canvas using Create | UI | Canvas.
  2. In the Canvas Inspector, change the name to HUD Canvas.
I like to break my Canvases up into the following categories: HUD, Background, and Popups. I find that this ...

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.