Class NetworkPipelineParametersExtensions
Inherited Members
Namespace: Unity.Networking.Transport
Syntax
public static class NetworkPipelineParametersExtensions
Methods
GetPipelineParameters(ref NetworkSettings)
Gets the NetworkPipelineParams
Declaration
public static NetworkPipelineParams GetPipelineParameters(this ref NetworkSettings settings)
Parameters
Type | Name | Description |
---|---|---|
NetworkSettings | settings | NetworkSettings to get parameters from. |
Returns
Type | Description |
---|---|
NetworkPipelineParams | Returns the NetworkPipelineParams values for the NetworkSettings |
WithPipelineParameters(ref NetworkSettings, Int32)
Sets the NetworkPipelineParams values for the NetworkSettings
Declaration
[Obsolete("Will be removed in Unity Transport 2.0.")]
public static ref NetworkSettings WithPipelineParameters(this ref NetworkSettings settings, int initialCapacity = 0)
Parameters
Type | Name | Description |
---|---|---|
NetworkSettings | settings | NetworkSettings to modify. |
Int32 | initialCapacity | initialCapacity |
Returns
Type | Description |
---|---|
NetworkSettings | Modified NetworkSettings. |