Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Unity Game Development Blueprints
  • Table Of Contents Toc
Unity Game Development Blueprints

Unity Game Development Blueprints

By : John P. Doran
4 (6)
close
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
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...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Unity Game Development Blueprints
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon