docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct UnityTransport.SimulatorParameters

    Parameters for the Network Simulator

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Netcode.Transports.UTP
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    [Serializable]
    public struct UnityTransport.SimulatorParameters

    Fields

    PacketDelayMS

    Delay to add to every send and received packet (in milliseconds). Only applies in the editor and in development builds. The value is ignored in production builds.

    Declaration
    [Tooltip("Delay to add to every send and received packet (in milliseconds). Only applies in the editor and in development builds. The value is ignored in production builds.")]
    [SerializeField]
    public int PacketDelayMS
    Field Value
    Type Description
    int

    PacketDropRate

    Percentage of sent and received packets to drop. Only applies in the editor and in the editor and in developments builds.

    Declaration
    [Tooltip("Percentage of sent and received packets to drop. Only applies in the editor and in the editor and in developments builds.")]
    [SerializeField]
    public int PacketDropRate
    Field Value
    Type Description
    int

    PacketJitterMS

    Jitter (random variation) to add/substract to the packet delay (in milliseconds). Only applies in the editor and in development builds. The value is ignored in production builds.

    Declaration
    [Tooltip("Jitter (random variation) to add/substract to the packet delay (in milliseconds). Only applies in the editor and in development builds. The value is ignored in production builds.")]
    [SerializeField]
    public int PacketJitterMS
    Field Value
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2024 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)