Book Image

Unity Game Development Blueprints

By : John P. Doran
Book Image

Unity Game Development Blueprints

By: John P. Doran

Overview of this book

Table of Contents (16 chapters)
Unity Game Development Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating and placing props


Now, it's great that we have a layout, but just a floor plan would get really boring really quickly in a first-person game. Luckily, we have a number of props that we can use to spice up the level a bit and add additional detail to our world. Perform the following steps:

  1. First, let's move our Level 1 object out of the way for now by making it a prefab and then deleting it from the Hierarchy tab.

  2. Next, go to the Props folder, and select all of your models. Under the Model tab, check the Generate Colliders option, and click on Apply.

    This will create collisions for all the objects that we want to use. We didn't choose to generate colliders for the modular pieces, because we will generate them from scratch for our rooms.

  3. Move the Bedframe object to your scene, and change the Position property of the object to (0, 0, 0) from the Transform section. To focus on the object, select it in Hierarchy, and then press the F key (this only works if the scene is selected). Alternatively...