Skip to content

Commit 4362972

Browse files
ducketsjo-unity
andauthored
DOCS: cm reorg docf-6476 docf-6393 (#2113)
Co-authored-by: Jo Dawes <[email protected]>
1 parent 5054d36 commit 4362972

33 files changed

+1119
-897
lines changed

Packages/com.unity.inputsystem/Documentation~/TableOfContents.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,39 @@
99
* [Workflow - Direct](using-direct-workflow.md)
1010
* [Setting up input](setting-up-input.md)
1111
* [Actions](actions.md)
12-
* [Action Assets](action-assets.md)
12+
* [Action assets](action-assets.md)
1313
* [About action assets](about-action-assets.md)
1414
* [About project-wide actions](about-project-wide-actions.md)
15-
* [Create and assign project-wide actions](create-project-wide-actions.md)
15+
* [Create and assign a project-wide action asset](create-project-wide-actions.md)
1616
* [Create an empty action asset](create-empty-action-asset.md)
1717
* [Assign a project-wide action asset](assign-project-wide-actions.md)
1818
* [Default actions](default-actions.md)
1919
* [Generate C# API from actions](generate-cs-api-from-actions.md)
2020
* [Create action maps](create-edit-delete-action-maps.md)
2121
* [Create, edit and delete actions](create-edit-delete-actions.md)
2222
* [Configure actions](configure-actions.md)
23+
* [Action and control types](action-and-control-types.md)
24+
* [About action and control types](about-action-control-types.md)
25+
* [Configure action type](configure-action-type.md)
26+
* [Action types reference](action-type-reference.md)
27+
* [Configure control type](configure-control-type.md)
28+
* [Bindings](bindings.md)
29+
* [Introduction to bindings](introduction-to-bindings.md)
30+
* [Binding types](binding-types.md)
31+
* [Composite bindings](composite-bindings-reference.md)
32+
* [Add, duplicate or delete a binding](add-duplicate-delete-binding.md)
33+
* [Select a control for binding](select-control-binding.md)
34+
* [Edit composite bindings](edit-composite-bindings.md)
35+
* [Group bindings to control schemes](group-binding-to-control-scheme.md)
36+
* [Binding resolution](binding-resolution.md)
37+
* [Restrict binding to a specific device](restrict-binding-specific-device.md)
38+
* [Binding conflicts](binding-conflicts.md)
39+
* [Initial state checks](binding-initial-state-checks.md)
2340
* [Stand-alone actions](stand-alone-actions.md)
2441
* [Load actions from JSON](load-actions-from-json.md)
2542
* [Create actions in code](create-actions-in-code.md)
2643
* [Action properties](action-and-control-types.md)
27-
* [Bindings](action-bindings.md)
44+
* [Bindings](ActionBindings-Old-Content.md)
2845
* [Controls](controls.md)
2946
* [Controls schemes](control-schemes.md)
3047
* [Interactions](interactions.md)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# About action and control types
2+
3+
Each action has an **action type** and a **control type**. These settings are displayed in the [Action Properties panel](./action-properties-panel.md) when you select an action in the [Actions Editor window](./actions-editor.md).
4+
5+
![The Action Properties panel in the Actions Editor Window](Images/ActionProperties.png)
6+
7+
When you configure an action, you can select an action type and control type that best represents what your action is for, and how you want it to be activated by the [controls](./Controls.md) it is [bound](./bindings.md) to.
8+
9+
## Action type
10+
11+
The **action type** influences how the Input System processes state changes for the action, and relates to whether this action represents a discrete on/off button-style interaction or a value that can change gradually over time.
12+
13+
## Control type
14+
15+
The **control type** determines the type of value that should be sent to the action, such as an in integer or float value, or a 1D, 2D, or 3D axis.
16+
17+
The control type that you select has the effect of filtering the available controls to only those that are capable of providing the values appropriate for that control.
18+
19+
For example, if you select **2D axis** as the control type, only those types of controls that can supply a 2D vector as value are available as options for the binding control path, such as a thumb stick or Dpad.
20+
21+
There are more specific control types available which further filter the available bindings, such as **Stick**, **Dpad** or **Touch**. If you select one of these control types, the list of available controls is further limited to only those controls of those specific types when you [select a binding for your action](add-duplicate-delete-binding.md).
22+
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Action and control types
22

3-
4-
5-
6-
If you select an action in the actions pane of the [Actions Editor window](actions-editor.md), the right-hand pane displays the action-properties-panel.mdn-properties-panel.md) panel.
7-
8-
![Action Properties](Images/ActionProperties.png)
3+
Actions have an **Action Type** and **Control Type** which you can configure in the [Actions Editor window](actions-editor.md). These settings allow you to configure the basic behaviour of an action.
94

105
| **Topic** | **Description** |
116
| :------------------------------ | :------------------------------- |
12-
| **[Configure action type](./configure-action-type.md)** | Summary |
13-
| **[Configure control type](./configure-control-type.md.md)** | Summary |
7+
| **[About action and control types](./about-action-control-types.md)** | Learn about what action types and control types are, and the effects that the different settings can have. |
8+
| **[Configure action type](./configure-action-type.md)** | Configure the action's Action Type, which relates to whether an action represents a discrete on/off button-style interaction or a value that can change gradually over time. |
9+
| **[Action type reference](./action-type-reference.md)** | Information about each of the available action type options. |
10+
| **[Configure control type](./configure-control-type.md.md)** | Select the type of control expected by the action. |
11+
12+
## Additional resources
13+
[Control types reference](./control-types.md)

0 commit comments

Comments
 (0)