We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1deb9ac commit 6abb34eCopy full SHA for 6abb34e
Packages/com.unity.inputsystem/InputSystem/Actions/InputAction.cs
@@ -1282,9 +1282,9 @@ public unsafe bool WasPressedThisFrame()
1282
/// <example>
1283
/// <code>
1284
/// var fire = playerInput.actions["fire"];
1285
- /// if (fire.WasPressed() && fire.IsPressed())
+ /// if (fire.WasPressedThisDynamicUpdate() && fire.IsPressed())
1286
/// StartFiring();
1287
- /// else if (fire.WasReleasedThisFrame())
+ /// else if (fire.WasReleasedThisDynamicUpdate())
1288
/// StopFiring();
1289
/// </code>
1290
/// </example>
0 commit comments