Canvas objects types
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, text, and much more. All of them use RectTransform to define their display area, but each one has its own concepts and configurations to understand.
- Integrating assets for the UI
- Creating UI controls
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.
Integrating assets for the UI
Before making our UI use nice graphics assets, we need, as always, to integrate them properly into Unity. In the following screenshot, you will find the UI design we proposed in Chapter 1, Designing a Game From Scratch:
On top of that, we...