docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    size

    Returns
    Type Description
    NetworkSettings
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)