Skip to content

Commit 0705668

Browse files
authored
FIX: Typo in Actions.md (#1036).
1 parent aba727f commit 0705668

File tree

1 file changed

+1
-1
lines changed
  • Packages/com.unity.inputsystem/Documentation~

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ The `Started`, `Performed`, and `Canceled` phases each have a callback associate
234234

235235
action.started += ctx => /* Action was started */;
236236
action.performed += ctx => /* Action was performed */;
237-
action.canceled += ctx => /* Action was started */;
237+
action.canceled += ctx => /* Action was canceled */;
238238
```
239239

240240
Each callback receives an [`InputAction.CallbackContext`](../api/UnityEngine.InputSystem.InputAction.CallbackContext.html) structure holding context information that you can use to query the current state of the Action and to read out values from Controls that triggered the Action ([`InputAction.CallbackContext.ReadValue`](../api/UnityEngine.InputSystem.InputAction.CallbackContext.html#UnityEngine_InputSystem_InputAction_CallbackContext_ReadValue__1)).

0 commit comments

Comments
 (0)