Professional Documents
Culture Documents
The Input Manager window allows you to define input axes and their associated
actions for your Project. To access it, from Unity’s main menu, go to Edit >
The Input Manager
Key refers to any key on a physical keyboard, such as W, Shift, or the space bar.
18-07-2020
Button refers to any button on a physical controller (for example, gamepads),
such as the X button on an Xbox One
controller.
Every Project you create has a number of input axes created by default. These
axes enable you to use keyboard, mouse, and joystick input in your Project
straight away.
To see more about these axes, open the Input Manager window, and click the
arrow next to any axis name to expand its properties.
18-07-2020
18-07-2020
Adding, removing, and copying virtual axes
To add a virtual axis, increase the number in the Size field. This creates a new axis at the
bottom of the list. The new axis copies the properties of the previous axis in the list.
Decrease the number in the Size field. This removes the last axis in the list.
18-07-2020
Mapping virtual axes to controls
18-07-2020
18-07-2020
Using virtual axes in scripts
To access virtual axes from scripts, you can use the axis name.
18-07-2020