GetButton and GetKey - Unity Learn

This tutorial demonstrates how to get a button or a key for input in a Unity project, and how these axes behave or can be modified with the Unity Input manager. Part of: Beginner Scripting project Previous Tutorial: Destroy Next Tutorial: GetAxis