docs.unity.cn
    Show / Hide Table of Contents

    Class FragmentationStageParameterExtensions

    Inheritance
    Object
    FragmentationStageParameterExtensions
    Namespace: Unity.Networking.Transport.Utilities
    Syntax
    public static class FragmentationStageParameterExtensions : object

    Methods

    GetFragmentationStageParameters(ref NetworkSettings)

    Gets the FragmentationUtility.Parameters

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

    Returns the FragmentationUtility.Parameters values for the NetworkSettings

    WithFragmentationStageParameters(ref NetworkSettings, Int32)

    Sets the FragmentationUtility.Parameters values for the NetworkSettings

    Declaration
    public static ref NetworkSettings WithFragmentationStageParameters(this ref NetworkSettings settings, int payloadCapacity = null)
    Parameters
    Type Name Description
    NetworkSettings settings
    Int32 payloadCapacity PayloadCapacity
    Returns
    Type Description
    NetworkSettings
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, March 31, 2022
    Terms of use