docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface INetworkSimulatorPreset

    Aggregates configuration values used as presets for the network simulator.

    Namespace: Unity.Multiplayer.Tools.NetworkSimulator.Runtime
    Assembly: solution.dll
    Syntax
    public interface INetworkSimulatorPreset

    Properties

    Name Description
    Description

    A description for the preset, usually explaining the real-world situation that the preset is attempting to re-create.

    Name

    The name of the preset.

    PacketDelayMs

    Fixed delay to apply to all packets which pass through.

    PacketJitterMs

    Variable delay to apply to all packets which pass through, adds or subtracts amount from fixed delay.

    PacketLossInterval

    Fixed interval to drop packets on. This is most suitable for tests where predictable behaviour is desired, every Xth packet will be dropped. E.g. If PacketLossInterval is 5 every 5th packet is dropped.

    PacketLossPercent

    0 - 100, denotes the percentage of packets that will be dropped. E.g. "5" means approximately every 20th packet will be dropped.

    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)