This commit is contained in:
vis2k 2021-03-15 13:38:40 +08:00
parent 7de5c18986
commit f3997b6030

View File

@ -29,10 +29,10 @@ public class LatencySimulation : Transport
// note: reliable is ordered by definition. no need to scramble.
[Header("Unreliable Messages")]
[Tooltip("Packet loss in %")]
[Range(0, 1)] public float unreliableLoss;
[Tooltip("Unreliable latency in seconds")]
public float unreliableLatency = 0;
[Tooltip("Packet loss in %")]
[Range(0, 1)] public float unreliableLoss;
[Tooltip("Scramble unreliable messages, just like over the real network. Mirror unreliable is unordered.")]
public bool unreliableScramble;