docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetworkSimulatorPreset

    Preset containing the parameters to configure and simulate network conditions.

    Inheritance
    object
    NetworkSimulatorPreset
    Implements
    INetworkSimulatorPreset
    IEquatable<NetworkSimulatorPreset>
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Multiplayer.Tools.NetworkSimulator.Runtime
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class NetworkSimulatorPreset : INetworkSimulatorPreset, IEquatable<NetworkSimulatorPreset>

    Properties

    Name Description
    Description

    Optional description of the configuration.

    Name

    Network simulation configuration name.

    PacketDelayMs

    Value for the delay between packet in milliseconds.

    PacketJitterMs

    Value for the network jitter (variance) in milliseconds.

    PacketLossInterval

    Value for at which interval packet are dropped This value is a drop every X packet, not in time.

    PacketLossPercent

    Value for the average percentage of packet are dropped.

    Methods

    Name Description
    Create(string, string, int, int, int, int)

    Utility function to create a configuration at runtime.

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Equals(NetworkSimulatorPreset)

    Determines whether the specified object is equal to the current object.

    GetHashCode()

    Serves as the default hash function.

    ToString()

    Returns a string that represents the current object.

    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)