Version: 2022.2
Language : English
Game Controller support
Detect Game Controllers

Game Controller overview

Unity supports a standardized Game ControllerA device to control objects and characters in a game.
See in Glossary
Input API provided by Apple as part of the standard Unity Input API. You can use the Game Controller to support users who use a controller to interact with your application. For more information, see Apple documentation on Game Controller.

Unity includes the Game Controller framework in the project only if a script in the project references Input.GetJoystickNames. If it’s available, Unity iOS Runtime loads the framework dynamically.

Additional resources:

Game Controller support
Detect Game Controllers
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961