You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Assets/Tests/InputSystem/Plugins/UITests.cs
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2793,17 +2793,17 @@ public IEnumerator UI_CanNavigateUI_WithLocalMultiPlayerRoot_Null_UsingGamepads(
2793
2793
// Move right
2794
2794
Set(gamepad.leftStick,newVector2(1,0));
2795
2795
yieldreturnnull;
2796
-
2797
-
Assert.That(scene.eventSystem.currentSelectedGameObject,Is.SameAs(scene.rightGameObject),"Right navigation did not work when localMultiPlayerRoot was set");
2796
+
2797
+
Assert.That(scene.eventSystem.currentSelectedGameObject,Is.SameAs(scene.rightGameObject),"Right navigation did not work when localMultiPlayerRoot was set");
2798
2798
2799
2799
// Move left
2800
2800
Set(gamepad.leftStick,Vector2.zero);
2801
2801
yieldreturnnull;
2802
2802
Set(gamepad.leftStick,newVector2(-1,0));
2803
2803
yieldreturnnull;
2804
-
2805
-
Assert.That(scene.eventSystem.currentSelectedGameObject,Is.SameAs(scene.leftGameObject),"Left navigation did not work when localMultiPlayerRoot was set");
2806
-
2804
+
2805
+
Assert.That(scene.eventSystem.currentSelectedGameObject,Is.SameAs(scene.leftGameObject),"Left navigation did not work when localMultiPlayerRoot was set");
2806
+
2807
2807
// Reset stick position
2808
2808
Set(gamepad.leftStick,Vector2.zero);
2809
2809
yieldreturnnull;
@@ -2818,22 +2818,22 @@ public IEnumerator UI_CanNavigateUI_WithLocalMultiPlayerRoot_Null_UsingGamepads(
2818
2818
// Move right
2819
2819
Set(gamepad.leftStick,newVector2(1,0));
2820
2820
yieldreturnnull;
2821
-
2822
-
Assert.That(scene.eventSystem.currentSelectedGameObject,Is.SameAs(scene.rightGameObject),"Right navigation did not work when localMultiPlayerRoot was null");
2821
+
2822
+
Assert.That(scene.eventSystem.currentSelectedGameObject,Is.SameAs(scene.rightGameObject),"Right navigation did not work when localMultiPlayerRoot was null");
2823
2823
2824
2824
// Move left
2825
2825
Set(gamepad.leftStick,Vector2.zero);
2826
2826
yieldreturnnull;
2827
2827
Set(gamepad.leftStick,newVector2(-1,0));
2828
2828
yieldreturnnull;
2829
2829
2830
-
Assert.That(scene.eventSystem.currentSelectedGameObject,Is.SameAs(scene.leftGameObject),"Left navigation did not work when localMultiPlayerRoot was null");
2830
+
Assert.That(scene.eventSystem.currentSelectedGameObject,Is.SameAs(scene.leftGameObject),"Left navigation did not work when localMultiPlayerRoot was null");
2831
2831
2832
2832
// Submit
2833
2833
PressAndRelease(gamepad.buttonSouth);
2834
2834
yieldreturnnull;
2835
2835
2836
-
Assert.That(scene.leftChildReceiver.events,Has.Exactly(1).With.Property("type").EqualTo(EventType.Submit),"Submit event was not received when localMultiPlayerRoot was null");
2836
+
Assert.That(scene.leftChildReceiver.events,Has.Exactly(1).With.Property("type").EqualTo(EventType.Submit),"Submit event was not received when localMultiPlayerRoot was null");
0 commit comments