O'Reilly logo

Building an RPG with Unity 5.x by Vahé Karamian

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

Summary

We covered a lot of topics in this chapter. We discussed the different character definitions we are going to be using for our game, looked at the base character class attributes that will be shared by all of our characters, created the BaseCharacter class to be used later in the game, discussed the primary states our character will have in the game and how to implement them using the Animator Controller.

We looked at how to rig our character model to be prepared for the Mecanim system and how to use the Mecanim system to create animation and state diagrams that will determine how the character is behaving during game play. Then we implemented our initial character controller script that handles the state of our character. This gave us the ...

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