{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct SimulatorPreset | Netcode for Entities | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SimulatorPreset

    Presets for the com.unity.transport simulator. Allows developers to simulate a variety of network conditions. AppendBaseSimulatorPresets(List<SimulatorPreset>) AppendAdditionalMobileSimulatorProfiles(List<SimulatorPreset>)

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.NetCode
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct SimulatorPreset

    Constructors

    Name Description
    SimulatorPreset(string, int, int, int, int, string)

    Construct a new preset.

    SimulatorPreset(string, int, int, int, string)

    Construct a new preset.

    Properties

    Name Description
    IsCustom

    True if this is user-defined the preset.

    Methods

    Name Description
    AppendAdditionalMobileSimulatorProfiles(List<SimulatorPreset>)

    These are best-estimate approximations for mobile connection types, informed by real world data. Last updated Q3 2022.

    Sources:

    - Developers [Multiplayer, Support and Customers]

    - https://unity.com/products/multiplay

    - https://www.giffgaff.com/blog/h-5g-lte-a-g-e-new-cell-network-alphabet/

    - https://www.4g.co.uk/how-fast-is-4g/

    AppendAdditionalPCSimulatorPresets(List<SimulatorPreset>)

    These are best-estimate approximations of PC and Console connection types, informed by real world data. Last updated Q3 2022.

    Sources:

    - Developers [Multiplayer, Support and Customers]

    - https://unity.com/products/multiplay

    AppendBaseSimulatorPresets(List<SimulatorPreset>)

    The most common profiles, including custom debug ones. Last updated Q3 2022.

    BuildProfiles(List<SimulatorPreset>, bool, string, int, int, int, string)

    Builds sub-profiles for your profile. E.g. 4 regional options for your custom profile.

    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)