Skip to main content

Unity.Netcode.NetworkUpdateLoop

Represents the network update loop injected into low-level player loop in Unity.

Inheritance#

System.Object

NetworkUpdateLoop

Inherited Members#

System.Object.Equals(System.Object)

System.Object.Equals(System.Object, System.Object)

System.Object.GetHashCode()

System.Object.GetType()

System.Object.MemberwiseClone()

System.Object.ReferenceEquals(System.Object, System.Object)

System.Object.ToString()

Syntax#
public static class NetworkUpdateLoop

Fields#

UpdateStage#

The current network update stage being executed.

Declaration#
public static NetworkUpdateStage UpdateStage
Field Value#
TypeDescription
NetworkUpdateStage

Methods#

RegisterAllNetworkUpdates(INetworkUpdateSystem)#

Registers a network update system to be executed in all network update stages.

Declaration#
public static void RegisterAllNetworkUpdates(this INetworkUpdateSystem updateSystem)
Parameters#
TypeNameDescription
INetworkUpdateSystemupdateSystem

RegisterNetworkUpdate(INetworkUpdateSystem, NetworkUpdateStage)#

Registers a network update system to be executed in a specific network update stage.

Declaration#
public static void RegisterNetworkUpdate(this INetworkUpdateSystem updateSystem, NetworkUpdateStage updateStage = NetworkUpdateStage.Update)
Parameters#
TypeNameDescription
INetworkUpdateSystemupdateSystem
NetworkUpdateStageupdateStage

UnregisterAllNetworkUpdates(INetworkUpdateSystem)#

Unregisters a network update system from all network update stages.

Declaration#
public static void UnregisterAllNetworkUpdates(this INetworkUpdateSystem updateSystem)
Parameters#
TypeNameDescription
INetworkUpdateSystemupdateSystem

UnregisterNetworkUpdate(INetworkUpdateSystem, NetworkUpdateStage)#

Unregisters a network update system from a specific network update stage.

Declaration#
public static void UnregisterNetworkUpdate(this INetworkUpdateSystem updateSystem, NetworkUpdateStage updateStage = NetworkUpdateStage.Update)
Parameters#
TypeNameDescription
INetworkUpdateSystemupdateSystem
NetworkUpdateStageupdateStage