Game Development Reference
In-Depth Information
4. Next, we will create the
Level
empty game object to contain our level by going to
GameObject
|
Create Empty
; name it
Level
, and reset all the transformation to
the default value by going to its
Inspector
view and right-clicking on the gear
wheel icon and choosing
Reset
, as shown in the following screenshot:
5. Then, we will add the floor and wall by going to
SimplePlatform
|
Resources
|
Sprites
|
Level
in the
Project
view and clicking on the arrow in front of the
Plat-
form
file. Then, we will click on the
Floor
object and drag it inside the
Level
game object in the
Hierarchy
view, and do the same thing with the
Wall
object,
as shown in the following screenshot: