Class NetworkPipelineStageCollection
The network pipeline stage collection class
Namespace: Unity.Networking.Transport
Syntax
public static class NetworkPipelineStageCollection : object
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 |
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 |