Implementing Our Non-Player Characters

In the previous chapter, we focused on our game's player character, the Cucumber Man. We imported the character, reviewed the controls, examined the animations, and made the necessary configuration changes to fully use our character in the game. We reviewed the player character's animations and the character's animation controller. We also identified scripts relevant to the player character and reviewed several of them. In addition, we made modifications to our game's terrain to better accommodate the player character during gameplay.

In this chapter, we will focus on the non-player characters. Our Cucumber Beetles will serve as our game's non-player characters and will be the Cucumber Man's enemies. ...

Get Getting Started with Unity 2018 - Third Edition 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.