IndieGame/client/Packages/com.unity.inputsystem@1.7.0/Documentation~/index.md
DOBEST\zhaoyingjie f242607587 初始化工程
2024-10-11 10:12:15 +08:00

1.4 KiB

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.

MyGameActions
An example of a set of typical Input Actions for a game, configured in the Editor.