You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Packages/com.unity.inputsystem/Documentation~/Concepts.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ uid: basic-concepts
5
5
6
6
This page introduces the basic concepts that relate to working with the Input System. They relate to the steps in the sequence of events that occur when a user sends input to your game or app. The Input System provides features which implement these steps, or you can choose to implement some of them yourself.
7
7
8
-

8
+

Copy file name to clipboardExpand all lines: Packages/com.unity.inputsystem/Documentation~/ProjectWideActions.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,25 +18,22 @@ Unless you have specific project requirements that require more than one Action
18
18
To create and assign the current project-wide actions, go to **Edit** > **Project Settings** > **Input System Package**.
19
19
20
20
If you don't yet have an Action Asset assigned as project-wide in your project, the Input System Package settings window displays an empty field for you to assign your action asset, and a button allowing you to create and assign one.
21
-
</br>
22
-
*The Input System Package Project Settings with no project-wide actions assigned*
21
+
22
+
</br>
23
+
*The Input System Package Project Settings with no project-wide actions assigned displays a button to create and assign a default project-wide Action Asset.*
23
24
24
25
> **Note:** If you already have an Action Asset assigned, this button is not displayed, and instead the Actions Editor is displayed, allowing you to edit the project-wide actions.
25
26
26
27
To create an Action Asset with default actions pre-configured, click **"Create a new project-wide Action Asset"**. The asset is created in your project, and automatically assigned as the **project-wide actions**.
27
28
28
29
The Action Asset appears in your Project view, and is named "InputSystem_Actions". This is where your new configuration of actions is saved, including any changes you make to it.
29
30
30
-
<br/>
31
-
*The new Actions Asset in your Project window*
31
+

32
32
33
33
## Edit project-wide actions
34
34
35
35
Once you have created and assigned project-wide actions, the Input System Package page in Project Settings displays the **Actions Editor** interface. Read more about how to use the [Actions Editor](ActionsEditor.md) to configure your actions.
36
36
37
-

38
-
*The Input System Package Project Settings after creating and assigning the default actions*
39
-
40
37
## The default actions
41
38
42
39
When you create and assign default project-wide actions using the method described above, the Action Asset comes pre-configured with some default Actions such as "Move", "Jump", and more, which suit many common app and game scenarios. They are configured to read input from the most common types of input controller such as Keyboard, Mouse, Gamepad, Touchscreen and XR.
@@ -47,7 +44,7 @@ If you’d like to delete all the default actions so that you can start from an
47
44
48
45
You can also delete all action maps, or reset all the actions back to the default values from the **more** (⋮) menu at the top right of the Input Actions section of the settings window, below the Project Settings window search field.
49
46
50
-

47
+

51
48
52
49
> **Note:** this **more** (⋮) menu is not available when the Actions Editor is open in a separate window, it is only present in the Project Settings window.
Copy file name to clipboardExpand all lines: Packages/com.unity.inputsystem/Documentation~/Workflows.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,11 @@ You can choose to configure Actions and Bindings in the Editor UI, or you can se
12
12
13
13
The descriptions below describe these main workflows and link to more detailed description of them.
14
14
15
-
16
-
|||
15
+
|Workflows |Description |
17
16
|---|---|
18
-
|[**Using Actions**](Workflow-Actions.md)<br/><br/>This is the **recommended** workflow for most situations. In this workflow, you use the [Actions Editor window](./ActionsEditor.md) to configure sets of actions and bindings, then set up references and read the values for those actions in your code[(read more)](Workflow-Actions.md).<br/><br/>||
19
-
|[**Using Actions and the PlayerInput Component**](Workflow-PlayerInput.html)<br/><br/>This workflow provides extra features that allow you to connect up **callbacks** directly from Actions to your own callback handler methods, removing the need to deal with Action references in your code. It also provides features that are useful in **local multiplayer** scenarios such as device assignment and split-screen functionality.[(read more)](Workflow-PlayerInput.html).<br/><br/>||
20
-
|[**Directly read device states**](Workflow-Direct.html)<br/><br/>This workflow is a simplified, script-only approach which bypasses the Actions and Bindings features entirely. Instead your script explicitly references specific device controls (such as "left gamepad stick") and reads the values directly. This is suitable for **fast prototyping**, or single fixed platform scenarios. It is a **less flexible** workflow because it bypasses some of the main input system features[(read more)](Workflow-Direct.html). <br/><br/>||
17
+
|[**Using Actions**](Workflow-Actions.md)|This is the **recommended** workflow for most situations. In this workflow, you use the [Actions Editor window](./ActionsEditor.md) to configure sets of actions and bindings, then set up references and read the values for those actions in your code.|
18
+
|[**Using Actions and the PlayerInput Component**](Workflow-PlayerInput.md)|This workflow provides extra features that allow you to connect up **callbacks** directly from Actions to your own callback handler methods, removing the need to deal with Action references in your code. It also provides features that are useful in **local multiplayer** scenarios such as device assignment and split-screen functionality.|
19
+
|[**Directly read device states**](Workflow-Direct.md)|This workflow is a simplified, script-only approach which bypasses the Actions and Bindings features entirely. Instead your script explicitly references specific device controls (such as "left gamepad stick") and reads the values directly. This is suitable for **fast prototyping**, or single fixed platform scenarios. It is a **less flexible** workflow because it bypasses some of the main input system features|
Copy file name to clipboardExpand all lines: Packages/com.unity.inputsystem/Documentation~/index.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,10 @@ The **Input System** allows your users to control your game or app using a devic
7
7
8
8
## Introduction
9
9
10
+
<br/>
11
+
*The Input Actions Editor window, displaying some of the default actions that come pre-configured with the Input System package.*
12
+
13
+
10
14
Unity supports input through two separate systems, one older, and one newer.
11
15
12
16
The older system, which is built-in to the editor, is called the [Input Manager](https://docs.unity3d.com/Manual/class-InputManager.html). The Input Manager is part of the core Unity platform and is the default, if you do not install this Input System Package.
@@ -16,6 +20,3 @@ This **Input System package** is a newer, more flexible system, which allows you
16
20
During the installation process for the Input System package, the installer offers to automatically deactivate the older built-in system. ([Read more](Installation.md))
17
21
18
22
To get started, see the [Installation](Installation.md) and [Workflows](Workflows.md) sections. For a demo project, see the [Warriors demo](https://github.com/UnityTechnologies/InputSystem_Warriors) on GitHub.
19
-
20
-
<br/>
21
-
_The Input Actions Editor, displaying some of the default actions that come pre-configured with the Input System package._
0 commit comments