Input in Unity refers to users sending signals from the outside world to your game or app using a physical device.
Unity supports input from many types of device, such as gamepads, mouse, keyboard, touchscreen, joystick, movement-sensors like accelerometers or gyroscopes, and VRVirtual Reality More info
See in Glossary and ARAugmented Reality More info
See in Glossary controllers. Almost every project requires input of some kind, whether it is to allow users to navigate a UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info
See in Glossary, control a character in a game, or move around and interact with objects in virtual realityVirtual Reality (VR) immerses users in an artificial 3D world of realistic images and sounds, using a headset and motion tracking. More info
See in Glossary.
Unity has two methods of implementing Input:
Input
class).Unity’s best support for input is provided by the Input System Package, which you install using the Package Manager.
This is the recommended solution for most projects. It provides an intuitive interface in the Editor to configure input, and provides a variety of workflows to suit your project and coding style.
Get started with the Input System Package.
If you are supporting a legacy project or you need to use the older “Input Manager” for any other reason, see the legacy Input Manager documentation.