Skip to Content
Mastering UI Development with Unity
book

Mastering UI Development with Unity

by Dr. Ashley Godbold
April 2018
Beginner content levelBeginner
468 pages
11h 7m
English
Packt Publishing
Content preview from Mastering UI Development with Unity

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Game Development with Unity for .NET Developers

Game Development with Unity for .NET Developers

Jiadong Chen
Unity UI Cookbook

Unity UI Cookbook

Francesco Sapio

Publisher Resources

ISBN: 9781787125520Supplemental Content