Class NetworkUpdateLoop
Represents the network update loop injected into low-level player loop in Unity.
#
InheritanceSystem.Object
NetworkUpdateLoop
#
Inherited MembersSystem.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()
#
Namespace: Unity.Netcode#
Assembly: MLAPI.dll#
Syntax#
Fields#
UpdateStageThe current network update stage being executed.
#
Declaration#
Field ValueType | Description |
---|---|
NetworkUpdateStage |
#
Methods#
RegisterAllNetworkUpdates(INetworkUpdateSystem)Registers a network update system to be executed in all network update stages.
#
Declaration#
ParametersType | Name | Description |
---|---|---|
INetworkUpdateSystem | updateSystem | The INetworkUpdateSystem implementation to register for all network updates |
#
RegisterNetworkUpdate(INetworkUpdateSystem, NetworkUpdateStage)Registers a network update system to be executed in a specific network update stage.
#
Declaration#
ParametersType | Name | Description |
---|---|---|
INetworkUpdateSystem | updateSystem | The INetworkUpdateSystem implementation to register for all network updates |
NetworkUpdateStage | updateStage | The NetworkUpdateStage being registered for the INetworkUpdateSystem implementation |
#
UnregisterAllNetworkUpdates(INetworkUpdateSystem)Unregisters a network update system from all network update stages.
#
Declaration#
ParametersType | Name | Description |
---|---|---|
INetworkUpdateSystem | updateSystem | The INetworkUpdateSystem implementation to deregister from all network updates |
#
UnregisterNetworkUpdate(INetworkUpdateSystem, NetworkUpdateStage)Unregisters a network update system from a specific network update stage.
#
Declaration#
ParametersType | Name | Description |
---|---|---|
INetworkUpdateSystem | updateSystem | The INetworkUpdateSystem implementation to deregister from all network updates |
NetworkUpdateStage | updateStage | The NetworkUpdateStage to be deregistered from the INetworkUpdateSystem implementation |