docs.unity.cn
    Show / Hide Table of Contents

    Interface INetworkUpdateSystem

    Defines the required interface of a network update system being executed by the NetworkUpdateLoop.

    Namespace: Unity.Netcode
    Syntax
    public interface INetworkUpdateSystem

    Methods

    NetworkUpdate(NetworkUpdateStage)

    The update method that is being executed in the context of related NetworkUpdateStage.

    Declaration
    void NetworkUpdate(NetworkUpdateStage updateStage)
    Parameters
    Type Name Description
    NetworkUpdateStage updateStage

    The NetworkUpdateStage that is being executed.

    Extension Methods

    NetworkUpdateLoop.RegisterAllNetworkUpdates(INetworkUpdateSystem)
    NetworkUpdateLoop.RegisterNetworkUpdate(INetworkUpdateSystem, NetworkUpdateStage)
    NetworkUpdateLoop.UnregisterAllNetworkUpdates(INetworkUpdateSystem)
    NetworkUpdateLoop.UnregisterNetworkUpdate(INetworkUpdateSystem, NetworkUpdateStage)
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, April 21, 2023
    Terms of use