O'Reilly logo

Unity 5.x Game Development Blueprints by John P. Doran

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

Creating many targets

Now that we have one target working correctly, let's make all of the others using the original as a template:

  1. To start off with, let's make our Target a prefab, so let's do that by going to the Hierarchy tab and then dragging and dropping the object into the Prefabs folder from the Project tab. This will be useful if you later on decide to make changes to all of them. This way, you can just modify the one rather than having to do it over and over again.
  2. We then will need to move our current target to a good spot. Let's go with -5.75, -4.5, and 2.5.

    Note

    I'm doing -2.5 because the front row is at -3 and the middle row is at -2.5, that is, we are going to be placed directly between them. A quick view in 3D will show us that as ...

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