File tree Expand file tree Collapse file tree
Assets/Tests/InputSystem/Plugins
Packages/com.unity.inputsystem Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1989,7 +1989,7 @@ public IEnumerator UI_CanReleaseAndPressTouchesOnSameFrame()
19891989 Assert . That ( scene . uiModule . m_PointerStates . length , Is . Zero ) ;
19901990 }
19911991
1992- //https://fogbugz.unity3d.com/f/cases/1190150/
1992+ // https://fogbugz.unity3d.com/f/cases/1190150/
19931993 [ UnityTest ]
19941994 [ Category ( "UI" ) ]
19951995 public IEnumerator UI_CanUseTouchSimulationWithUI ( )
Original file line number Diff line number Diff line change @@ -27,8 +27,7 @@ public InputActionsEditorSessionAnalytic(Data.Kind kind)
2727 {
2828 if ( kind == Data . Kind . Invalid )
2929 throw new ArgumentException ( nameof ( kind ) ) ;
30-
31-
30+
3231 Initialize ( kind ) ;
3332 }
3433
Original file line number Diff line number Diff line change @@ -4303,13 +4303,7 @@ internal void RestoreStateWithoutDevices(SerializedState state)
43034303 m_HaveSentStartupAnalytics = state . haveSentStartupAnalytics ;
43044304 #endif
43054305
4306- // Restore available devices list so that GetUnsupportedDevices() and similar queries
4307- // return the correct result before RestoreDevicesAfterDomainReload() runs.
4308- /*if (state.availableDevices != null && state.availableDevices.Length > 0)
4309- {
4310- m_AvailableDevices = state.availableDevices;
4311- m_AvailableDeviceCount = state.availableDevices.Length;
4312- }*/
4306+ ////REVIEW: instead of accessing globals here, we could move this to when we re-create devices
43134307
43144308 // Update state.
43154309 InputUpdate . Restore ( state . updateState ) ;
You can’t perform that action at this time.
0 commit comments