O'Reilly logo

Mastering Unity 5.x by Alan Thorn

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

Chapter 3.  Player Controls - Movement

This chapter focuses in depth on building cross-platform player controls. This process involves making animations using the animation editor, developing animation graphs with Mecanim, creating user interface elements with Unity UI, and scripting core functionality in C#. Let's start by clarifying how the player controls work for the majority of gameplay. The player has two main input types:

  • They have limited control over how the camera moves and when it moves
  • They can press alphanumeric keys on the keyboard to spell words during combat with zombies

These two input types are now considered in more depth.

Player movement

Dead Keys is played inthe  first-person perspective, meaning that the camera is positioned ...

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