mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
Examples/Benchmark: always show NetworkStatistics
This commit is contained in:
parent
d3a2023163
commit
9ea5b3006a
@ -155,7 +155,9 @@ MonoBehaviour:
|
|||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
height: 150
|
height: 150
|
||||||
|
offsetY: 40
|
||||||
maxLogCount: 50
|
maxLogCount: 50
|
||||||
|
showInEditor: 0
|
||||||
hotKey: 293
|
hotKey: 293
|
||||||
--- !u!20 &88936776
|
--- !u!20 &88936776
|
||||||
Camera:
|
Camera:
|
||||||
@ -286,6 +288,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
|
||||||
@ -336,22 +339,29 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
dontDestroyOnLoad: 1
|
dontDestroyOnLoad: 1
|
||||||
runInBackground: 1
|
runInBackground: 1
|
||||||
autoStartServerBuild: 1
|
headlessStartMode: 1
|
||||||
autoConnectClientBuild: 0
|
editorAutoStart: 0
|
||||||
sendRate: 30
|
sendRate: 30
|
||||||
|
autoStartServerBuild: 0
|
||||||
|
autoConnectClientBuild: 0
|
||||||
offlineScene:
|
offlineScene:
|
||||||
onlineScene:
|
onlineScene:
|
||||||
transport: {fileID: 1282001521}
|
transport: {fileID: 1282001521}
|
||||||
networkAddress: localhost
|
networkAddress: localhost
|
||||||
maxConnections: 1000
|
maxConnections: 1000
|
||||||
|
disconnectInactiveConnections: 0
|
||||||
|
disconnectInactiveTimeout: 60
|
||||||
authenticator: {fileID: 0}
|
authenticator: {fileID: 0}
|
||||||
playerPrefab: {fileID: 449802645721213856, guid: e1299008405d14b17b1ca459a6cd44a2, type: 3}
|
playerPrefab: {fileID: 449802645721213856, guid: e1299008405d14b17b1ca459a6cd44a2,
|
||||||
|
type: 3}
|
||||||
autoCreatePlayer: 1
|
autoCreatePlayer: 1
|
||||||
playerSpawnMethod: 1
|
playerSpawnMethod: 1
|
||||||
spawnPrefabs:
|
spawnPrefabs:
|
||||||
- {fileID: 449802645721213856, guid: 30b8f251d03d84284b70601e691d474f, type: 3}
|
- {fileID: 449802645721213856, guid: 30b8f251d03d84284b70601e691d474f, type: 3}
|
||||||
|
exceptionsDisconnect: 1
|
||||||
snapshotSettings:
|
snapshotSettings:
|
||||||
bufferTimeMultiplier: 2
|
bufferTimeMultiplier: 2
|
||||||
|
bufferLimit: 32
|
||||||
catchupNegativeThreshold: -1
|
catchupNegativeThreshold: -1
|
||||||
catchupPositiveThreshold: 1
|
catchupPositiveThreshold: 1
|
||||||
catchupSpeed: 0.019999999552965164
|
catchupSpeed: 0.019999999552965164
|
||||||
@ -360,8 +370,11 @@ MonoBehaviour:
|
|||||||
dynamicAdjustment: 1
|
dynamicAdjustment: 1
|
||||||
dynamicAdjustmentTolerance: 1
|
dynamicAdjustmentTolerance: 1
|
||||||
deliveryTimeEmaDuration: 2
|
deliveryTimeEmaDuration: 2
|
||||||
|
evaluationMethod: 0
|
||||||
|
evaluationInterval: 3
|
||||||
timeInterpolationGui: 1
|
timeInterpolationGui: 1
|
||||||
spawnPrefab: {fileID: 449802645721213856, guid: 30b8f251d03d84284b70601e691d474f, type: 3}
|
spawnPrefab: {fileID: 449802645721213856, guid: 30b8f251d03d84284b70601e691d474f,
|
||||||
|
type: 3}
|
||||||
spawnAmount: 1000
|
spawnAmount: 1000
|
||||||
interleave: 1
|
interleave: 1
|
||||||
--- !u!114 &1282001521
|
--- !u!114 &1282001521
|
||||||
@ -376,7 +389,7 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: 6b0fecffa3f624585964b0d0eb21b18e, type: 3}
|
m_Script: {fileID: 11500000, guid: 6b0fecffa3f624585964b0d0eb21b18e, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
Port: 7777
|
port: 7777
|
||||||
DualMode: 1
|
DualMode: 1
|
||||||
NoDelay: 1
|
NoDelay: 1
|
||||||
Interval: 10
|
Interval: 10
|
||||||
@ -388,8 +401,8 @@ MonoBehaviour:
|
|||||||
SendWindowSize: 4096
|
SendWindowSize: 4096
|
||||||
MaxRetransmit: 40
|
MaxRetransmit: 40
|
||||||
MaximizeSocketBuffers: 1
|
MaximizeSocketBuffers: 1
|
||||||
ReliableMaxMessageSize: 298449
|
ReliableMaxMessageSize: 297433
|
||||||
UnreliableMaxMessageSize: 1199
|
UnreliableMaxMessageSize: 1194
|
||||||
debugLog: 0
|
debugLog: 0
|
||||||
statisticsGUI: 0
|
statisticsGUI: 0
|
||||||
statisticsLog: 0
|
statisticsLog: 0
|
||||||
@ -409,6 +422,34 @@ MonoBehaviour:
|
|||||||
rebuildInterval: 1
|
rebuildInterval: 1
|
||||||
checkMethod: 0
|
checkMethod: 0
|
||||||
showSlider: 1
|
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
|
--- !u!1 &2054208274
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user