With Unity's built in Input Manager you can assign a key and an alternate key for each action known as 'axes' which can be called using a string name. You can also add your own custom actions to the input manager.
`Input.GetButton("Fire1")`
See [http://docs.unity3d.com/Documentation/Manual/Input.html][1]
and [http://docs.unity3d.com/Documentation/ScriptReference/Input.GetButton.html][2]
[1]: http://docs.unity3d.com/Documentation/Manual/Input.html
[2]: http://docs.unity3d.com/Documentation/ScriptReference/Input.GetButton.html
Trending Articles
More Pages to Explore .....