mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
disabled localTimescale
This commit is contained in:
parent
218f36ff3c
commit
6a2e6650a2
@ -742,7 +742,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &2576427188027533924
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -239,7 +239,7 @@ MonoBehaviour:
|
||||
handshakeMaxSize: 3000
|
||||
noDelay: 1
|
||||
sendTimeout: 5000
|
||||
receiveTimeout: 20000
|
||||
receiveTimeout: 60000
|
||||
serverMaxMessagesPerTick: 10000
|
||||
clientMaxMessagesPerTick: 2000
|
||||
batchSend: 0
|
||||
|
@ -66,14 +66,14 @@ void Update()
|
||||
|
||||
clientBufferText.text = $"C: {new string('-', clientSnapCount)}";
|
||||
|
||||
if (NetworkClient.localTimescale < 0)
|
||||
localTimescaleText.color = slowdownColor;
|
||||
else if (NetworkClient.localTimescale > 0)
|
||||
localTimescaleText.color = catchupColor;
|
||||
else
|
||||
localTimescaleText.color = Color.black;
|
||||
//if (NetworkClient.localTimescale < 0)
|
||||
// localTimescaleText.color = slowdownColor;
|
||||
//else if (NetworkClient.localTimescale > 0)
|
||||
// localTimescaleText.color = catchupColor;
|
||||
//else
|
||||
// localTimescaleText.color = Color.black;
|
||||
|
||||
localTimescaleText.text = $"LT: {NetworkClient.localTimescale:0.0000}";
|
||||
//localTimescaleText.text = $"LT: {NetworkClient.localTimescale:0.0000}";
|
||||
|
||||
/////// Server
|
||||
//serverSnapCount = networkTransformReliable.serverSnapshots.Count;
|
||||
|
Loading…
Reference in New Issue
Block a user