Method WithDataStreamParameters
WithDataStreamParameters(ref NetworkSettings, int)
Sets the NetworkDataStreamParameter values for the NetworkSettings
Declaration
[Obsolete("In Unity Transport 2.0, the data stream size will always be dynamically-sized and this API will be removed.")]
public static ref NetworkSettings WithDataStreamParameters(this ref NetworkSettings settings, int size = 0)
Parameters
Type | Name | Description |
---|---|---|
NetworkSettings | settings | |
int | size |
Returns
Type | Description |
---|---|
NetworkSettings |