File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,14 +106,14 @@ void OnScenarioChanged(int optionIndex)
106
106
break ;
107
107
case k_ConnectionCyclesScenarioName :
108
108
scenario = new ConnectionsCycle ( ) ;
109
- ( ( ConnectionsCycle ) scenario ) . Configurations . Add ( new ConnectionsCycle . Configuration ( ) { ChangeIntervalMilliseconds = 5000 , ConnectionPreset = NetworkSimulatorPresets . HomeBroadband } ) ;
110
- ( ( ConnectionsCycle ) scenario ) . Configurations . Add ( new ConnectionsCycle . Configuration ( ) { ChangeIntervalMilliseconds = 5000 , ConnectionPreset = NetworkSimulatorPresets . Mobile5G } ) ;
109
+ ( ( ConnectionsCycle ) scenario ) . Configurations . Add ( new ConnectionsCycle . Configuration ( ) { ChangeIntervalMilliseconds = 5000 , ConnectionPreset = NetworkSimulatorPresets . HomeBroadband } ) ;
110
+ ( ( ConnectionsCycle ) scenario ) . Configurations . Add ( new ConnectionsCycle . Configuration ( ) { ChangeIntervalMilliseconds = 5000 , ConnectionPreset = NetworkSimulatorPresets . Mobile5G } ) ;
111
111
break ;
112
112
case k_RandomConnectionSwapScenarioName :
113
113
scenario = new RandomConnectionsSwap ( ) ;
114
114
( ( RandomConnectionsSwap ) scenario ) . ChangeIntervalMilliseconds = 5000 ;
115
- ( ( RandomConnectionsSwap ) scenario ) . Configurations . Add ( new RandomConnectionsSwap . Configuration ( ) { ConnectionPreset = NetworkSimulatorPresets . HomeBroadband } ) ;
116
- ( ( RandomConnectionsSwap ) scenario ) . Configurations . Add ( new RandomConnectionsSwap . Configuration ( ) { ConnectionPreset = NetworkSimulatorPresets . Mobile5G } ) ;
115
+ ( ( RandomConnectionsSwap ) scenario ) . Configurations . Add ( new RandomConnectionsSwap . Configuration ( ) { ConnectionPreset = NetworkSimulatorPresets . HomeBroadband } ) ;
116
+ ( ( RandomConnectionsSwap ) scenario ) . Configurations . Add ( new RandomConnectionsSwap . Configuration ( ) { ConnectionPreset = NetworkSimulatorPresets . Mobile5G } ) ;
117
117
break ;
118
118
default :
119
119
Debug . LogError ( "Invalid Scenario selected." ) ;
You can’t perform that action at this time.
0 commit comments