Class NetworkSimulatorPresetAsset
ScriptableObject used to store the parameters to configure and simulate network conditions.
Implements
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Multiplayer.Tools.NetworkSimulator.Runtime
Assembly: solution.dll
Syntax
[CreateAssetMenu(fileName = "NetworkSimulatorPresetAsset", menuName = "Multiplayer/NetworkSimulatorPresetAsset")]
public class NetworkSimulatorPresetAsset : ScriptableObject, INetworkSimulatorPreset
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. |