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
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. |