Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Unity Game Development Blueprints
  • Toc
  • feedback
Unity Game Development Blueprints

Unity Game Development Blueprints

By : John P. Doran
4 (6)
close
Unity Game Development Blueprints

Unity Game Development Blueprints

4 (6)
By: John P. Doran

Overview of this book

If you want to build enticing projects with Unity, this book is for you. Readers who are familiar with the basics of how to create simple projects in Unity will have an easier time.
Table of Contents (11 chapters)
close
10
Index

Moving to other levels


Finally, let's see what we can do to make the changes we've made in this chapter show up in all of our levels. We perform the following steps:

  1. We've been modifying a series of prefabs, so thankfully it's quite easy to update them for other levels. Select the FlashlightController object, and in the Prefab section, click on the Apply button to save our changes to the prefab.

  2. The Ghost object, however, is just a model, so let's open the Prefabs folder in our project browser and drag-and-drop the object in there.

  3. Move the Phone Flash object in as a prefab as well.

  4. Now that we have everything set up, let's open our interior level.

  5. Upon opening the level, you may notice that the other level already has the camera showing up if you look at the Game tab. Have a look at the following screenshot:

  6. Don't start the level yet though! Next, add in the Phone Flash object by dragging-and-dropping it into the Hierarchy section. Then, open the FlashlightController object, go to the Photo Camera...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete