Time for action – enter the hero

Because the hero from our last game does a lot of the same stuff we want our spaceship to do, we really only have to replace the dude with the ship for fast, fun results.

  1. In the Project panel, find the Hero Ship model and drag it into the Scene.
  2. In the Hierarchy panel, click on the gray arrow to expand the Character Prefab.
  3. Delete the child object called Armature.
  4. Click on Continue if Unity warns you about losing the connection to the Prefab. Aaand... poof! No more dude.
  5. In the Hierarchy panel, drag the heroShip model into the recently gutted Character prefab. (Do this all within the Hierarchy panel—not in the Project panel.)
  6. In the Inspector panel, punch in all of the default transform values (or choose Reset Position ...

Get Unity 4.x Game Development by Example Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.