O'Reilly logo

Unity 3D Game Development by Example by Ryan Henson Creighton

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

Time for action - space this sucker up a bit

I've never known a space shooter to take place in front of an apartment building, so let's get rid of our old backdrop. Then we'll pull a fun trick with multiple cameras to add a space backdrop to our game.

  1. Click on the brownstone apartment building Game Object and delete it from the Scene.
  2. Click on GameObject | Create Other | Camera to add a second camera to the scene.
  3. Rename the camera SpaceCam.
  4. In the Project panel, select the starfield texture.
  5. Click on GameObject | Create Other | GUI Texture.
Time for action - space this sucker up a bit

Suddenly, the starfield image appears in the Game view, but it completely takes over! Let's fix this.

  1. In ...

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