O'Reilly logo

Unity 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 6\Assets\Ghost Model location, you'll find a series of files.
  2. First, let's create the material for our new mesh. To do this, go into either the 1024 Textures or 2048 Textures folder, and move the files into the Materials folder. Afterwards, navigate to Create | Material, and give it the name GhostMaterial. Change the Shader value to Bumped Diffuse, and move the Ghost_Tex file into the Base and Ghost_TEX_NRM file in the Normalmap selection. You'll get a warning indicating the texture isn't marked as a normal map; feel free ...

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