Working with a canvas

In Unity, we can use a canvas as a container for UI components. Canvases are GameObjects, and the UI components are the visual components we want on the screen during gameplay. In this section, we will create a canvas and then add and configure the necessary UI components to match our HUD's design from the previous section.

Get Getting Started with Unity 2018 - Third Edition 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.