-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Hands-On Unity 2022 Game Development
By :

So far, we have used the simplest Canvas object type—a white box—but there are plenty of other object types we can use, such as images, buttons, and text. All of them use RectTransform to define their display area, but each one has its own concepts and configurations to understand.
In this section, we will explore the following Canvas object concepts:
Let’s first start exploring how we can integrate images and fonts to use in our Canvas so that we can integrate them in our UI using the Images and Text UI object types.
Before making our UI use nice graphics assets, we need to integrate them properly into Unity. In the following screenshot, you will find the UI design we propose for our game:
Figure 15.7: UI design
On top of that, we will add a Pause menu, which will be activated when the user presses Esc. It will...