docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FragmentationStageParameterExtensions

    Extensions for FragmentationUtility.Parameters.

    Inheritance
    object
    FragmentationStageParameterExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Networking.Transport.Utilities
    Assembly: Unity.Networking.Transport.dll
    Syntax
    public static class FragmentationStageParameterExtensions

    Methods

    GetFragmentationStageParameters(ref NetworkSettings)

    Gets the FragmentationUtility.Parameters

    Declaration
    public static FragmentationUtility.Parameters GetFragmentationStageParameters(this ref NetworkSettings settings)
    Parameters
    Type Name Description
    NetworkSettings settings

    NetworkSettings to get parameters from.

    Returns
    Type Description
    FragmentationUtility.Parameters

    Returns the FragmentationUtility.Parameters values for the NetworkSettings

    WithFragmentationStageParameters(ref NetworkSettings, int)

    Sets the FragmentationUtility.Parameters values for the NetworkSettings

    Declaration
    public static ref NetworkSettings WithFragmentationStageParameters(this ref NetworkSettings settings, int payloadCapacity = 4096)
    Parameters
    Type Name Description
    NetworkSettings settings

    NetworkSettings to modify.

    int payloadCapacity

    PayloadCapacity

    Returns
    Type Description
    NetworkSettings

    Modified NetworkSettings.

    In This Article
    Back to top
    Copyright © 2025 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)