Skip to main content

Unity.Multiplayer.Tools.NetworkSimulator.Runtime.NetworkScenarioBehaviour

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

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

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: System.Dynamic.ExpandoObject#
Assembly: Tools.dll#
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#

TypeNameDescription
System.SingledeltaTimeThe time elapsed since last frame.