Class ConnectionsCycle
NetworkScenario that iterates through the Configurations list by order.
Inherited Members
Namespace: Unity.Multiplayer.Tools.NetworkSimulator.Runtime.BuiltInScenarios
Syntax
[UsedImplicitly]
[Serializable]
public sealed class ConnectionsCycle : NetworkScenarioTask
Properties
Configurations
The list of configuration used to define ConnectionPreset and the ChangeIntervalMilliseconds. ConnectionsCycle.Configuration
Declaration
public ICollection<ConnectionsCycle.Configuration> Configurations { get; }
Property Value
| Type | Description |
|---|---|
| ICollection<ConnectionsCycle.Configuration> |
Methods
Run(INetworkEventsApi, CancellationToken)
Declaration
protected override async Task Run(INetworkEventsApi networkEventsApi, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| INetworkEventsApi | networkEventsApi | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |