docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetworkUpdateLoop

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

    Inheritance
    object
    NetworkUpdateLoop
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: MLAPI
    Assembly: Unity.Multiplayer.MLAPI.Runtime.dll
    Syntax
    public static class NetworkUpdateLoop

    Fields

    UpdateStage

    The current network update stage being executed.

    Declaration
    public static NetworkUpdateStage UpdateStage
    Field Value
    Type Description
    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
    Type Name Description
    INetworkUpdateSystem updateSystem

    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
    Type Name Description
    INetworkUpdateSystem updateSystem
    NetworkUpdateStage updateStage

    UnregisterAllNetworkUpdates(INetworkUpdateSystem)

    Unregisters a network update system from all network update stages.

    Declaration
    public static void UnregisterAllNetworkUpdates(this INetworkUpdateSystem updateSystem)
    Parameters
    Type Name Description
    INetworkUpdateSystem updateSystem

    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
    Type Name Description
    INetworkUpdateSystem updateSystem
    NetworkUpdateStage updateStage
    In This Article
    Back to top
    Copyright © 2025 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)