Skip to content

Commit 5b62977

Browse files
committed
Replaced "do" with "use" in UISupport.md
1 parent 6ed91d7 commit 5b62977

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,11 @@ Internally, UI Toolkit installs an event listener in the form of the `PanelEvent
187187
There are some additional things worth noting:
188188

189189
* UI Toolkit handles raycasting internally. No separate raycaster component is needed like for uGUI. This means that [TrackedDeviceRaycaster](xref:UnityEngine.InputSystem.UI.TrackedDeviceRaycaster) does not work together with UI Toolkit.
190-
* A pointer click and a gamepad submit action are distinct at the event level in UI Toolkit. This means that if you, for example, do
190+
* A pointer click and a gamepad submit action are distinct at the event level in UI Toolkit. This means that if you, for example, use
191191
```CSharp
192192
button.RegisterCallback<ClickEvent>(_ => ButtonWasClicked());
193193
```
194-
the handler is not invoked when the button is "clicked" with the gamepad (a `NavigationSubmitEvent` and not a `ClickEvent`). If, however, you do
194+
the handler is not invoked when the button is "clicked" with the gamepad (a `NavigationSubmitEvent` and not a `ClickEvent`). If, however, you use
195195
```CSharp
196196
button.clicked += () => ButtonWasClicked();
197197
```

0 commit comments

Comments
 (0)