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
NEW: Add UI Toolkit matching control bindings UI (#1835)
* Add 'matching controls' into tree view of new UI TK action asset UI
* Tightened up layout of control scheme text and the matching paths tree view labels
* Split out MatchingControlPaths to separate source file
Copy file name to clipboardExpand all lines: Packages/com.unity.inputsystem/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ however, it has to be formatted properly to pass verification tests.
21
21
-[`InputAction.WasCompletedThisFrame`](xref:UnityEngine.InputSystem.InputAction.WasCompletedThisFrame) returns `true` on the frame that the action stopped being in the performed phase. This allows for similar functionality to [`WasPressedThisFrame`](xref:UnityEngine.InputSystem.InputAction.WasPressedThisFrame)/[`WasReleasedThisFrame`](xref:UnityEngine.InputSystem.InputAction.WasReleasedThisFrame) when paired with [`WasPerformedThisFrame`](xref:UnityEngine.InputSystem.InputAction.WasPerformedThisFrame) except it is directly based on the interactions driving the action. For example, you can use it to distinguish between the button being released or whether it was released after being held for long enough to perform when using the Hold interaction.
22
22
- Added Copy, Paste and Cut support for Action Maps, Actions and Bindings via context menu and key command shortcuts.
23
23
- Added Dual Sense Edge controller to be mapped to the same layout as the Dual Sense controller
24
+
- UI Toolkit input action editor now supports showing the derived bindings.
24
25
25
26
### Fixed
26
27
- Fixed syntax of code examples in API documentation for [`AxisComposite`](xref:UnityEngine.InputSystem.Composites.AxisComposite).
// Otherwise, indicate that no layouts match the current path.
184
-
if(!matchExists)
160
+
if(matchingControlPaths==null)
185
161
{
186
162
if(controlPathUsagePresent)
187
163
EditorGUILayout.HelpBox("No registered controls match this current binding. Some controls are only registered at runtime.",MessageType.Warning);
188
164
else
189
165
EditorGUILayout.HelpBox("No other registered controls match this current binding. Some controls are only registered at runtime.",MessageType.Warning);
190
166
}
191
-
}
192
-
193
-
EditorGUILayout.EndVertical();
194
-
}
195
-
}
196
-
197
-
/// <summary>
198
-
/// Returns true if the deviceLayout or any of its children has controls which match the provided parsed path. exist matching registered control paths.
199
-
/// </summary>
200
-
/// <param name="deviceLayout">The device layout to draw control paths for</param>
201
-
/// <param name="parsedPath">The parsed path containing details of the Input Controls that can be matched</param>
0 commit comments