O'Reilly logo

Creating E-Learning Games with Unity by David Horachek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Defining the framework for mission two

As with mission one, we will organize our game objects into hierarchies as shown in the following screenshot:

Defining the framework for mission two

The _global GameObject hierarchy will contain objects that persist for the entire lifespan of the game, and we will develop other hierarchies for objects that persist during a specific level.

To begin, let's create a new scene file for the level. Name the scene TESTBED2. Inside this scene, let's add two empty game objects at the root level, placed at (0,0,0) as with the first level. Name them _global and _level2.

  1. Under _global, add the layer, camera, and GameObject. Recall that these objects and their ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required