docs.unity.cn
    Show / Hide Table of Contents

    Struct ReliableUtility.Parameters

    Parameters for the reliable pipeline stage.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Networking.Transport.Utilities
    Syntax
    public struct Parameters : INetworkParameter

    Fields

    WindowSize

    Maximum number of packets that can be in flight at a time.

    Declaration
    public int WindowSize
    Field Value
    Type Description
    Int32
    Remarks

    Must be between 0 and 64. Default is 32. Note that using values higher than 32 will make reliable headers slightly larger, reducing the amount of space available for data. Most of the time the extra bandwidth offered by the larger window size is more than worth it, however.

    Methods

    Validate()

    Validate the settings.

    Declaration
    public bool Validate()
    Returns
    Type Description
    Boolean

    True if the settings are valid, false otherwise.

    Implements
    INetworkParameter.Validate()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 28, 2023