Time for action – creating the enemy

We will need to import and do a little setup on a second tank, before we can do any AI type programming:

  1. Select Tanks_Type03.png and Tanks_Type03.blend from the starting assets for the chapter and import them to the Tanks folder under the Models folder.
  2. Once Unity has finished importing, select the new tank in the Project window and take a look at it in the Inspector window.
  3. This tank has no animations, so the Animation Type can be set to None and Import Animation can be unchecked from the Rig and Animations pages respectively.
  4. Drag the tank from the Project window to the Scene window; any clear patch of street will work just fine.
  5. For starters, rename the model in the Scene view to EnemyTank.
  6. Now, we need to change ...

Get Unity Android 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.