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