docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetworkScenarioTask

    Base class to use network scenarios with asynchronous Tasks.

    Inheritance
    object
    NetworkScenario
    NetworkScenarioTask
    ConnectionsCycle
    RandomConnectionsSwap
    Inherited Members
    NetworkScenario.IsPaused
    NetworkScenario.OnPause()
    NetworkScenario.OnResume()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)