Skip to content

Commit 6d3d431

Browse files
DOCS: Fix variable name for submit action in documentation (#2305)
Co-authored-by: Rita Merkl <127492464+ritamerkl@users.noreply.github.com>
1 parent 7eefb98 commit 6d3d431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public class Example : MonoBehaviour
119119
// teleport occurs on the first frame that the action is pressed, and not again until the button is released
120120
}
121121

122-
if (submit.WasReleasedThisFrame())
122+
if (submitAction.WasReleasedThisFrame())
123123
{
124124
// submit occurs on the frame that the action is released, a common technique for buttons relating to UI controls.
125125
}

0 commit comments

Comments
 (0)