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
|**Continuous Player Actions**|| The mapping for the continuous vector action space. Shown when the action space is **Continuous**. |
25
+
||**Size**| The number of key commands defined. You can assign more than one command to the same action index in order to send different values for that action. (If you press both keys at the same time, deterministic results are not guaranteed.) |
26
+
||**Element 0–N**| The mapping of keys to action values. |
27
+
||**Key**| The key on the keyboard. |
28
+
||**Index**| The element of the Agent's action vector to set when this key is pressed. The index value cannot exceed the size of the Action Space (minus 1, since it is an array index). |
29
+
||**Value**| The value to send to the Agent as its action for the specified index when the mapped key is pressed. All other members of the action vector are set to 0. |
30
+
|**Discrete Player Actions**|| The mapping for the discrete vector action space. Shown when the action space is **Discrete**. |
31
+
||**Size**| The number of key commands defined. |
32
+
||**Element 0–N**| The mapping of keys to action values. |
33
+
||**Key**| The key on the keyboard. |
34
+
||**Branch Index**| The element of the Agent's action vector to set when this key is pressed. The index value cannot exceed the size of the Action Space (minus 1, since it is an array index). |
35
+
||**Value**| The value to send to the Agent as its action when the mapped key is pressed. Cannot exceed the max value for the associated branch (minus 1, since it is an array index). |
48
36
49
37
For more information about the Unity input system, see
0 commit comments