Examples/Benchmark: always show NetworkStatistics

This commit is contained in:
mischa 2024-07-21 10:13:19 +02:00
parent 796a5dce6d
commit 3073b87e63

View File

@ -155,7 +155,9 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
height: 150
offsetY: 40
maxLogCount: 50
showInEditor: 0
hotKey: 293
--- !u!20 &88936776
Camera:
@ -286,6 +288,7 @@ GameObject:
- component: {fileID: 1282001519}
- component: {fileID: 1282001521}
- component: {fileID: 1282001522}
- component: {fileID: 1282001523}
m_Layer: 0
m_Name: NetworkManager
m_TagString: Untagged
@ -336,22 +339,29 @@ MonoBehaviour:
m_EditorClassIdentifier:
dontDestroyOnLoad: 1
runInBackground: 1
autoStartServerBuild: 1
autoConnectClientBuild: 0
headlessStartMode: 1
editorAutoStart: 0
sendRate: 30
autoStartServerBuild: 0
autoConnectClientBuild: 0
offlineScene:
onlineScene:
transport: {fileID: 1282001521}
networkAddress: localhost
maxConnections: 1000
disconnectInactiveConnections: 0
disconnectInactiveTimeout: 60
authenticator: {fileID: 0}
playerPrefab: {fileID: 449802645721213856, guid: e1299008405d14b17b1ca459a6cd44a2, type: 3}
playerPrefab: {fileID: 449802645721213856, guid: e1299008405d14b17b1ca459a6cd44a2,
type: 3}
autoCreatePlayer: 1
playerSpawnMethod: 1
spawnPrefabs:
- {fileID: 449802645721213856, guid: 30b8f251d03d84284b70601e691d474f, type: 3}
exceptionsDisconnect: 1
snapshotSettings:
bufferTimeMultiplier: 2
bufferLimit: 32
catchupNegativeThreshold: -1
catchupPositiveThreshold: 1
catchupSpeed: 0.019999999552965164
@ -360,8 +370,11 @@ MonoBehaviour:
dynamicAdjustment: 1
dynamicAdjustmentTolerance: 1
deliveryTimeEmaDuration: 2
evaluationMethod: 0
evaluationInterval: 3
timeInterpolationGui: 1
spawnPrefab: {fileID: 449802645721213856, guid: 30b8f251d03d84284b70601e691d474f, type: 3}
spawnPrefab: {fileID: 449802645721213856, guid: 30b8f251d03d84284b70601e691d474f,
type: 3}
spawnAmount: 1000
interleave: 1
--- !u!114 &1282001521
@ -376,7 +389,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 6b0fecffa3f624585964b0d0eb21b18e, type: 3}
m_Name:
m_EditorClassIdentifier:
Port: 7777
port: 7777
DualMode: 1
NoDelay: 1
Interval: 10
@ -388,8 +401,8 @@ MonoBehaviour:
SendWindowSize: 4096
MaxRetransmit: 40
MaximizeSocketBuffers: 1
ReliableMaxMessageSize: 298449
UnreliableMaxMessageSize: 1199
ReliableMaxMessageSize: 297433
UnreliableMaxMessageSize: 1194
debugLog: 0
statisticsGUI: 0
statisticsLog: 0
@ -409,6 +422,34 @@ MonoBehaviour:
rebuildInterval: 1
checkMethod: 0
showSlider: 1
--- !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: 6d7da4e566d24ea7b0e12178d934b648, type: 3}
m_Name:
m_EditorClassIdentifier:
clientIntervalReceivedPackets: 0
clientIntervalReceivedBytes: 0
clientIntervalSentPackets: 0
clientIntervalSentBytes: 0
clientReceivedPacketsPerSecond: 0
clientReceivedBytesPerSecond: 0
clientSentPacketsPerSecond: 0
clientSentBytesPerSecond: 0
serverIntervalReceivedPackets: 0
serverIntervalReceivedBytes: 0
serverIntervalSentPackets: 0
serverIntervalSentBytes: 0
serverReceivedPacketsPerSecond: 0
serverReceivedBytesPerSecond: 0
serverSentPacketsPerSecond: 0
serverSentBytesPerSecond: 0
--- !u!1 &2054208274
GameObject:
m_ObjectHideFlags: 0