In Unity, you can set up your game to detect specific keypresses and then react to those keypresses. However, there is a better way of setting up input using Unity’s built-in Input Manager. This video will show how to use the Input Manager and how to also detect specific keypresses in your game. Sample code: http://codemahal.com/video/keyboard-input-in-unity/