docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetworkScenarioBehaviour

    Base class to use a MonoBehaviour-style frame update loop with network scenarios.

    Inheritance
    object
    NetworkScenario
    NetworkScenarioBehaviour
    Inherited Members
    NetworkScenario.IsPaused
    NetworkScenario.Start(INetworkEventsApi)
    NetworkScenario.Dispose()
    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 NetworkScenarioBehaviour : NetworkScenario

    Methods

    Name Description
    Update(float)

    Method called on every frame to determine what the scenario should run since the last frame. Only called when the scenario is not paused, so there is no need to manually check it in the implementation.

    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)