Skip to content

Commit 045386a

Browse files
committed
DOCATT-8841: Finished incomplete deviceLayoutName param description
- Finished the sentence using other similar explanations from InputSystem/Actions/InputActionRebindingExtensions.cs and InputSystem/Actions/InputBinding.cs.
1 parent ce91a2e commit 045386a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/com.unity.inputsystem/InputSystem/Controls/InputControlPath.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public static string ToHumanReadableString(string path,
204204
/// </summary>
205205
/// <param name="path">A control path such as "&lt;XRController>{LeftHand}/position".</param>
206206
/// <param name="deviceLayoutName">Receives the name of the device layout that the control path was resolved to.
207-
/// This is useful </param>
207+
/// This is useful if you want to decide on an icon to display that represents the device.</param>
208208
/// <param name="controlPath">Receives the path to the referenced control on the device or <c>null</c> if not applicable.
209209
/// For example, with a <paramref name="path"/> of <c>"&lt;Gamepad&gt;/dpad/up"</c>, the resulting control path
210210
/// will be <c>"dpad/up"</c>. This is useful when trying to look up additional resources (such as images) based on the

0 commit comments

Comments
 (0)