docs.unity.cn
    Show / Hide Table of Contents

    Class NetworkPipelineStageCollection

    The network pipeline stage collection class

    Inheritance
    Object
    NetworkPipelineStageCollection
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Networking.Transport
    Syntax
    public static class NetworkPipelineStageCollection

    Methods

    GetStageId(Type)

    Gets the stage id using the specified stage type

    Declaration
    public static NetworkPipelineStageId GetStageId(Type stageType)
    Parameters
    Type Name Description
    Type stageType

    The stage type

    Returns
    Type Description
    NetworkPipelineStageId

    The network pipeline stage id

    Exceptions
    Type Condition
    InvalidOperationException

    Pipeline stage {stageType} is not registered

    RegisterPipelineStage(INetworkPipelineStage)

    Registers the pipeline stage using the specified stage

    Declaration
    public static void RegisterPipelineStage(INetworkPipelineStage stage)
    Parameters
    Type Name Description
    INetworkPipelineStage stage

    The stage

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 28, 2023