Changing and refining input controls 

When we develop games using Unity, we have several options for gathering user input during gameplay. Here is a list of those input options:

  • Keyboard
  • Mouse
  • Joystick
  • Touchscreen
  • Mobile device movement sensors
  • Microphone
  • Camera

As we stated previously in this chapter, we will be using the keyboard as our sole input device for the Cucumber Man game. Let's take a look at where you can make changes to the input controls for your game if you want to experiment or simply want to change the way users interact with the game. We will use Unity's input manager for this.

The input manager for your game project is accessible, as illustrated in the following screenshot, by selecting the Edit | Project Settings | ...

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.