Skip to content

Commit a7ce6a3

Browse files
committed
formatting
1 parent 70effc4 commit a7ce6a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Assets/Scripts/Utils/NetworkSimulatorUIMediator.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,14 @@ void OnScenarioChanged(int optionIndex)
106106
break;
107107
case k_ConnectionCyclesScenarioName:
108108
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 });
111111
break;
112112
case k_RandomConnectionSwapScenarioName:
113113
scenario = new RandomConnectionsSwap();
114114
((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 });
117117
break;
118118
default:
119119
Debug.LogError("Invalid Scenario selected.");

0 commit comments

Comments
 (0)