Skip to content

Commit da32066

Browse files
authored
Merge branch 'develop' into update-ignore-in-preview-list
2 parents 18172d6 + 6d3d431 commit da32066

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)