Game Development Reference
In-Depth Information
3. Switch back to scene
Chapter3_Scene1
. Drag-and-drop the following
game objects beneath the
_level1
GameObject:
•
Directional light
•
FlagLocators
•
Monument
•
Terrain
4. Create a new scene by navigating to
File
|
New Scene
from the drop-
down menu. This will be the scene for our first level going forward. Name it
LEVEL1
.
5. Switch back to the
CHAPTER3_SCENE1
level. Copy the
_level1
GameOb-
ject from the
Hierarchy
tab by either right clicking on it and selecting
Copy
or by selecting the object and pressing
Ctrl
+
C
.
6. Switch to the
LEVEL1
scene again, and paste the
_level1
object into this
scene by pressing
Ctrl
+
V
.
Congratulations! We now have a second scene file that will correspond to the game
content for level one. Now we need to make sure that these levels are added the
project.
Adding new scenes to the project
In order to ensure these scenes are available to the game project, we need to add
them to the build as shown in the following screenshot: