add latency simulation

This commit is contained in:
mischa 2023-11-13 14:17:23 +01:00
parent c4b55970d3
commit 316e7772f6

View File

@ -732,6 +732,7 @@ GameObject:
- component: {fileID: 1282001519} - component: {fileID: 1282001519}
- component: {fileID: 1282001521} - component: {fileID: 1282001521}
- component: {fileID: 1282001522} - component: {fileID: 1282001522}
- component: {fileID: 1282001523}
m_Layer: 0 m_Layer: 0
m_Name: NetworkManager m_Name: NetworkManager
m_TagString: Untagged m_TagString: Untagged
@ -787,7 +788,7 @@ MonoBehaviour:
sendRate: 120 sendRate: 120
offlineScene: offlineScene:
onlineScene: onlineScene:
transport: {fileID: 1282001521} transport: {fileID: 1282001523}
networkAddress: localhost networkAddress: localhost
maxConnections: 2 maxConnections: 2
disconnectInactiveConnections: 0 disconnectInactiveConnections: 0
@ -800,6 +801,7 @@ MonoBehaviour:
spawnPrefabs: spawnPrefabs:
- {fileID: 3429911415116987808, guid: ecbb35e2a01c0427ebb0b4b6ed146c70, type: 3} - {fileID: 3429911415116987808, guid: ecbb35e2a01c0427ebb0b4b6ed146c70, type: 3}
- {fileID: 3429911415116987808, guid: 8b8303075efb94c0e9478abfb2e558df, type: 3} - {fileID: 3429911415116987808, guid: 8b8303075efb94c0e9478abfb2e558df, type: 3}
exceptionsDisconnect: 1
snapshotSettings: snapshotSettings:
bufferTimeMultiplier: 2 bufferTimeMultiplier: 2
bufferLimit: 32 bufferLimit: 32
@ -858,6 +860,24 @@ MonoBehaviour:
padding: 2 padding: 2
width: 180 width: 180
height: 25 height: 25
--- !u!114 &1282001523
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1282001517}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 96b149f511061407fb54895c057b7736, type: 3}
m_Name:
m_EditorClassIdentifier:
wrap: {fileID: 1282001521}
latency: 25
jitter: 0
jitterSpeed: 0
unreliableLoss: 0
unreliableScramble: 0
--- !u!1001 &1321391581 --- !u!1001 &1321391581
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0