暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

index.md 1.4KB


uid: input-system-index

Input System

The Input System allows your users to control your game or app using a device, touch, or gestures.

Introduction

Unity supports input through two separate systems, one older, and one newer.

The older system, which is built-in to the editor, is called the Input Manager. The Input Manager is part of the core Unity platform and is the default, if you do not install this Input System Package.

This Input System package is a newer, more flexible system, which allows you to use any kind of Input Device to control your Unity content. It’s intended to be a replacement for Unity’s classic Input Manager. It iss referred to as “The Input System Package”, or just “The Input System”. To use it, you must install it into your project using the Package Manager.

During the installation process for the Input System package, the installer offers to automatically deactivate the older built-in system. (Read more)

To get started, see the Installation and Workflows sections. For a demo project, see the Warriors demo on GitHub.


The Input Actions Editor, displaying some of the default actions that come pre-configured with the Input System package.