@@ -2188,15 +2188,15 @@ public void Actions_CanReadValueFromAction_AsButton(InputActionType actionType,
21882188 Assert.That(action.WasReleasedThisFrame(), Is.False);
21892189
21902190 // Disabling an action at this point should affect IsPressed() but should
2191- // not affect WasPressedThisFrame() and .WasReleased ().
2191+ // not affect WasPressedThisFrame() and WasReleasedThisFramme ().
21922192 action.Disable();
21932193
21942194 Assert.That(action.IsPressed(), Is.False);
21952195 Assert.That(action.WasPressedThisFrame(), Is.True);
21962196 Assert.That(action.WasReleasedThisFrame(), Is.False);
21972197
21982198 // Re-enabling it should have no effect on WasPressedThisFrame() and
2199- // .WasReleased () either. Also IsPressed() should remain false
2199+ // WasReleasedThisFramme () either. Also IsPressed() should remain false
22002200 // as the button may have been released and the action wouldn't see
22012201 // the update while disabled.
22022202 action.Enable();
@@ -2243,7 +2243,7 @@ public void Actions_CanReadValueFromAction_AsButton(InputActionType actionType,
22432243 Assert.That(action.WasPressedThisFrame(), Is.False);
22442244 Assert.That(action.WasReleasedThisFrame(), Is.True);
22452245
2246- // Disabling should not affect . WasReleasedThisFrame().
2246+ // Disabling should not affect WasReleasedThisFrame().
22472247 action.Disable();
22482248
22492249 Assert.That(action.IsPressed(), Is.False);
@@ -2257,7 +2257,7 @@ public void Actions_CanReadValueFromAction_AsButton(InputActionType actionType,
22572257 Assert.That(action.WasPressedThisFrame(), Is.False);
22582258 Assert.That(action.WasReleasedThisFrame(), Is.True);
22592259
2260- // Advance one frame. Should reset .WasReleased ().
2260+ // Advance one frame. Should reset WasReleasedThisFrame ().
22612261 InputSystem.Update();
22622262
22632263 Assert.That(action.IsPressed(), Is.False);
@@ -2303,7 +2303,7 @@ public void Actions_CanReadPerformedFromAction_AsButton(InputActionType actionTy
23032303 // This test is structured the same as Actions_CanReadValueFromAction_AsButton above,
23042304 // but with additional testing that the phase changes are correct for the given action type and interaction,
23052305 // and additionally test functionality of WasPerformedThisFrame() and WasCompletedThisFrame(), which can
2306- // be different than WasPressedThisFrame() and . WasReleasedThisFrame().
2306+ // be different than WasPressedThisFrame() and WasReleasedThisFrame().
23072307
23082308 // Set global press and release points to known values.
23092309 InputSystem.settings.defaultButtonPressPoint = 0.5f;
@@ -2429,7 +2429,7 @@ public void Actions_CanReadPerformedFromAction_AsButton(InputActionType actionTy
24292429 trace.Clear();
24302430
24312431 // Disabling an action at this point should affect IsPressed() but should
2432- // not affect WasPressedThisFrame() and . WasReleasedThisFrame().
2432+ // not affect WasPressedThisFrame() and WasReleasedThisFrame().
24332433 action.Disable();
24342434
24352435 Assert.That(action.IsPressed(), Is.False);
@@ -2457,7 +2457,7 @@ public void Actions_CanReadPerformedFromAction_AsButton(InputActionType actionTy
24572457 trace.Clear();
24582458
24592459 // Re-enabling it should have no effect on WasPressedThisFrame() and
2460- // . WasReleasedThisFrame() either. Also IsPressed() should remain false
2460+ // WasReleasedThisFrame() either. Also IsPressed() should remain false
24612461 // as the button may have been released and the action wouldn't see
24622462 // the update while disabled.
24632463 action.Enable();
@@ -2687,7 +2687,7 @@ public void Actions_CanReadPerformedFromAction_AsButton(InputActionType actionTy
26872687
26882688 trace.Clear();
26892689
2690- // Disabling should not affect . WasReleasedThisFrame().
2690+ // Disabling should not affect WasReleasedThisFrame().
26912691 action.Disable();
26922692
26932693 Assert.That(action.IsPressed(), Is.False);
@@ -2751,7 +2751,7 @@ public void Actions_CanReadPerformedFromAction_AsButton(InputActionType actionTy
27512751
27522752 trace.Clear();
27532753
2754- // Advance one frame. Should reset . WasReleasedThisFrame().
2754+ // Advance one frame. Should reset WasReleasedThisFrame().
27552755 InputSystem.Update();
27562756
27572757 // W = Waiting, S = Started, P = Performed, C = Canceled
0 commit comments