@@ -435,7 +435,7 @@ public IEnumerator Devices_CanHaveOnScreenJoystickControls([Values(false, true)]
435435 stickLeftTransform . sizeDelta = new Vector2 ( 100 , 100 ) ;
436436 stickLeft . controlPath = "<Gamepad>/leftStick" ;
437437 stickLeftGO . SetActive ( true ) ;
438-
438+
439439 var stickRightGO = new GameObject ( "StickRight" ) ;
440440 stickRightGO . SetActive ( false ) ;
441441 var stickRightTransform = stickRightGO . AddComponent < RectTransform > ( ) ;
@@ -506,7 +506,7 @@ public IEnumerator Devices_CanHaveOnScreenJoystickControls([Values(false, true)]
506506 InputSystem . Update ( ) ; // Button is feeding events when responding to UI events.
507507
508508 Assert . That ( Gamepad . all [ 0 ] . buttonSouth . isPressed , Is . False ) ;
509-
509+
510510 // Touch the right stick and drag it downwards
511511 BeginTouch ( 2 , new Vector2 ( 550 , 150 ) ) ;
512512 yield return null ;
@@ -519,7 +519,7 @@ public IEnumerator Devices_CanHaveOnScreenJoystickControls([Values(false, true)]
519519
520520 Assert . That ( Gamepad . all [ 0 ] . leftStick . ReadValue ( ) , Is . EqualTo ( new Vector2 ( 0 , 1 ) ) . Using ( Vector2EqualityComparer . Instance ) ) ;
521521 Assert . That ( Gamepad . all [ 0 ] . rightStick . ReadValue ( ) , Is . EqualTo ( new Vector2 ( 0 , - 1 ) ) . Using ( Vector2EqualityComparer . Instance ) ) ;
522-
522+
523523 // Release finger one and move second and ensure that it still works
524524 EndTouch ( 1 , new Vector2 ( 550 , 200 ) ) ;
525525 MoveTouch ( 2 , new Vector2 ( 600 , 150 ) ) ;
@@ -529,7 +529,7 @@ public IEnumerator Devices_CanHaveOnScreenJoystickControls([Values(false, true)]
529529
530530 Assert . That ( Gamepad . all [ 0 ] . leftStick . ReadValue ( ) , Is . EqualTo ( new Vector2 ( 0 , 0 ) ) . Using ( Vector2EqualityComparer . Instance ) ) ;
531531 Assert . That ( Gamepad . all [ 0 ] . rightStick . ReadValue ( ) , Is . EqualTo ( new Vector2 ( 1 , 0 ) ) . Using ( Vector2EqualityComparer . Instance ) ) ;
532-
532+
533533 // Release finger two
534534 EndTouch ( 2 , new Vector2 ( 600 , 150 ) ) ;
535535 yield return null ;
@@ -565,7 +565,7 @@ public IEnumerator Devices_OnScreenStickDoesNotReceivePointerUpEventsInIsolatedM
565565 {
566566 uiTestScene . uiInputModule . actionsAsset . actionMaps [ 0 ] . LazyResolveBindings ( true ) ;
567567 } ;
568-
568+
569569 // Ensure that the OnScreenStick component has been started
570570 yield return null ;
571571
0 commit comments