Creating a Background Canvas prefab and a new scene

Before we can start making animated text, we need to build out our scene. In both the scenes we have created so far, we have used the Background Canvas to display the background image, and we will use it again in a new scene.

Since it's likely that we will use this Background Canvas multiple times, we should create a Background Canvas prefab. A prefab is a reusable GameObject. Using a prefab in a scene creates an instance of the prefab within the scene. If you make a change to the saved prefab, the change will be reflected to all prefab unbroken instances across all scenes.

To create a reusable Background Canvas prefab GameObject, complete the following steps:

  1. Create a new folder named ...

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.