File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -115,20 +115,20 @@ void OnScenarioChanged(int optionIndex)
115
115
break ;
116
116
case k_ConnectionCyclesScenarioName :
117
117
scenario = new ConnectionsCycle ( ) ;
118
- ( ( ConnectionsCycle ) scenario ) . Configurations . Clear ( ) ;
118
+ ( ( ConnectionsCycle ) scenario ) . Configurations . Clear ( ) ;
119
119
foreach ( var configuration in m_ConnectionsCycleConfigurations )
120
120
{
121
- ( ( ConnectionsCycle ) scenario ) . Configurations . Add ( configuration ) ;
121
+ ( ( ConnectionsCycle ) scenario ) . Configurations . Add ( configuration ) ;
122
122
}
123
123
break ;
124
124
case k_RandomConnectionSwapScenarioName :
125
125
scenario = new RandomConnectionsSwap ( ) ;
126
- ( ( RandomConnectionsSwap ) scenario ) . Configurations . Clear ( ) ;
126
+ ( ( RandomConnectionsSwap ) scenario ) . Configurations . Clear ( ) ;
127
127
foreach ( var configuration in m_RandomConnectionsSwapConfigurations )
128
128
{
129
- ( ( RandomConnectionsSwap ) scenario ) . Configurations . Add ( configuration ) ;
129
+ ( ( RandomConnectionsSwap ) scenario ) . Configurations . Add ( configuration ) ;
130
130
}
131
- ( ( RandomConnectionsSwap ) scenario ) . ChangeIntervalMilliseconds = m_RandomConnectionsSwapChangeIntervalMilliseconds ;
131
+ ( ( RandomConnectionsSwap ) scenario ) . ChangeIntervalMilliseconds = m_RandomConnectionsSwapChangeIntervalMilliseconds ;
132
132
break ;
133
133
default :
134
134
Debug . LogError ( "Invalid Scenario selected." ) ;
You can’t perform that action at this time.
0 commit comments