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 6abb34e commit daa9dc4Copy full SHA for daa9dc4
Packages/com.unity.inputsystem/InputSystem/Actions/InputAction.cs
@@ -1580,9 +1580,11 @@ public unsafe bool WasCompletedThisFrame()
1580
/// </remarks>
1581
/// <example>
1582
/// <code>
1583
- /// var warp = playerInput.actions["Warp"];
1584
- /// if (warp.WasPerformed())
1585
- /// InitiateWarp();
+ /// var teleport = playerInput.actions["Teleport"];
+ /// if (teleport.WasPerformedThisDynamicUpdate())
+ /// InitiateTeleport();
1586
+ /// else if (teleport.WasCompletedThisDynamicUpdate())
1587
+ /// StopTeleport();
1588
/// </code>
1589
/// </example>
1590
/// <seealso cref="WasPerformedThisFrame"/>
0 commit comments