Class ConnectionsCycle
NetworkScenario that iterates through the Configurations list by order.
Inherited Members
Namespace: Unity.Multiplayer.Tools.NetworkSimulator.Runtime.BuiltInScenarios
Assembly: solution.dll
Syntax
[UsedImplicitly]
[Serializable]
public sealed class ConnectionsCycle : NetworkScenarioTask
Properties
Name | Description |
---|---|
Configurations | The list of configuration used to define ConnectionPreset and the ChangeIntervalMilliseconds. ConnectionsCycle.Configuration |
Methods
Name | Description |
---|---|
Run(INetworkEventsApi, CancellationToken) | Starts running the underlying network scenario. Make sure to handle when IsPaused and the cancellation token. |