File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Packages/com.unity.inputsystem/InputSystem/Plugins/UI Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public IEnumerator Actions_WasStateReachedThisRenderingFrameOperatesIndependentl
8282 Assert.That(simpleAction.WasPressedThisDynamicUpdate(), Is.True);
8383 Assert.That(simpleAction.WasReleasedThisDynamicUpdate(), Is.True);
8484
85- InputSystem.Update(); // a manual update happens between two frames, that does not affect the output of the WasPerformedThisRenderingFrame
85+ InputSystem.Update(); // a manual update happens between two frames, that does not affect the output of the WasPerformedThisDynamicUpdate
8686
8787 Assert.That(simpleAction.WasPerformedThisDynamicUpdate(), Is.True);
8888 Assert.That(simpleAction.WasPressedThisDynamicUpdate(), Is.True);
Original file line number Diff line number Diff line change @@ -895,7 +895,7 @@ internal void ProcessNavigation(ref NavigationModel navigationState)
895895 // Process submit and cancel events.
896896 if ( ! usedSelectionChange && eventSystem . currentSelectedGameObject != null )
897897 {
898- // NOTE: Whereas we use callbacks for the other actions, we rely on WasPerformedThisRenderingFrame () for
898+ // NOTE: Whereas we use callbacks for the other actions, we rely on WasPerformedThisDynamicUpdate () for
899899 // submit and cancel. This makes their behavior inconsistent with pointer click behavior where
900900 // a click will register on button *up*, but consistent with how other UI systems work where
901901 // click occurs on key press. This nuance in behavior becomes important in combination with
You can’t perform that action at this time.
0 commit comments