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 an enemy

Now that we can take pictures, let's create an enemy to take pictures of! We will perform the following steps:

  1. The first step to adding in an enemy is to import the assets required to use it. Inside our Chapter 9\Art Assets\Ghost Model location, you'll find a series of files. Go ahead and drag and drop the folder into your project.
  2. Open up the Ghost Model object from the Project tab and then select the Ghost_mesh object. Now, select the object to bring up its properties in the Inspector tab. Under Scale Factor in the Model tab, change the value to .10 to scale the object to 1/10th of its starting size. Then, check Generate Colliders, making sure to hit Apply.
  3. Under the Rig tab, confirm the Animation Type value to None, as this model ...

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