Skip to content

Commit 4ffceef

Browse files
committed
Fixed malformed xml
1 parent adf6ff8 commit 4ffceef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Packages/com.unity.inputsystem/InputSystem/Actions/InputAction.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,21 +1847,21 @@ internal int BindingIndexOnMapToBindingIndexOnAction(int indexOfBindingOnMap)
18471847
/// void OnEnable()
18481848
/// {
18491849
/// /// Enable actions as part of enabling this behavior.
1850-
/// move.action?.Enable();
1851-
/// fire.action?.Enable();
1850+
/// move.action.Enable();
1851+
/// fire.action.Enable();
18521852
/// }
18531853
///
18541854
/// void OnDisable()
18551855
/// {
18561856
/// /// Disable actions as part of disabling this behavior.
1857-
/// move.action?.Disable();
1858-
/// fire.action?.Disable();
1857+
/// move.action.Disable();
1858+
/// fire.action.Disable();
18591859
/// }
18601860
///
18611861
/// void MovePerformed(InputAction.CallbackContext context)
18621862
/// {
18631863
/// /// Read the current 2D vector value reported by the associated input action.
1864-
/// var direction = context.ReadValue<Vector2>();
1864+
/// var direction = context.ReadValue&lt;Vector2&gt;();
18651865
/// Debug.Log("Move: " + direction * Time.deltaTime);
18661866
/// }
18671867
///

0 commit comments

Comments
 (0)