Class NetworkScenarioTask
Base class to use network scenarios with asynchronous Tasks.
Inherited Members
Namespace: Unity.Multiplayer.Tools.NetworkSimulator.Runtime
Assembly: solution.dll
Syntax
public abstract class NetworkScenarioTask : NetworkScenario
Methods
Name | Description |
---|---|
Dispose() | Disposes the scenario. |
Run(INetworkEventsApi, CancellationToken) | Starts running the underlying network scenario. Make sure to handle when IsPaused and the cancellation token. |
Start(INetworkEventsApi) | Starts running the underlying network scenario. |