Version: 2022.1
Importing local asset packages
Input Manager

Input

Input allows the user to control your application using a device, touch, or gestures. You can program in-app elements, such as the graphic user interface (GUI) or a user avatarAn interface for retargeting animation from one rig to another. More info
See in Glossary
, to respond to user input in different ways.

Unity supports input from many types of input devices, including:

  • Keyboards and mice
  • Joysticks
  • Controllers
  • Touch screens
  • Movement-sensing capabilities of mobile devices, such as accelerometers or gyroscopes
  • VR and AR controllers

Unity supports input through two separate systems:

  • The Input ManagerSettings where you can define all the different input axes, buttons and controls for your project. More info
    See in Glossary
    is part of the core Unity platform and available by default.
  • The Input System is a package that needs to be installed via the Package Manager before you can use it. It requires the .NET 4 runtime, and doesn’t work in projects that use the old .NET 3.5 runtime.
Importing local asset packages
Input Manager
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961