docs.unity3d.com
    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
    Syntax
    public abstract class NetworkScenarioBehaviour : NetworkScenario

    Methods

    Update(Single)

    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.

    Declaration
    protected abstract void Update(float deltaTime)
    Parameters
    Type Name Description
    Single deltaTime

    The time elapsed since last frame.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 October 2023