mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
disable logs
This commit is contained in:
parent
305e7dafa8
commit
083062ce18
@ -193,7 +193,7 @@ void ApplySnapshots(ref float remoteTime, ref float interpolationTime, SortedLis
|
||||
// instead of setting to '0', where we would lose the
|
||||
// overshoot part and see jitter again.
|
||||
interpolationTime -= delta;
|
||||
Debug.LogWarning($"{name} overshot and is now at: {interpolationTime}");
|
||||
//Debug.LogWarning($"{name} overshot and is now at: {interpolationTime}");
|
||||
|
||||
// remove first one from buffer
|
||||
buffer.RemoveAt(0);
|
||||
@ -218,7 +218,7 @@ void ApplySnapshots(ref float remoteTime, ref float interpolationTime, SortedLis
|
||||
|
||||
// TODO catchup
|
||||
|
||||
Debug.Log($"{name} first={first.timestamp:F2} second={second.timestamp:F2} remoteTime={remoteTime:F2} interpolationTime={interpolationTime:F2} t={t:F2} snapshotbuffer={buffer.Count}");
|
||||
//Debug.Log($"{name} first={first.timestamp:F2} second={second.timestamp:F2} remoteTime={remoteTime:F2} interpolationTime={interpolationTime:F2} t={t:F2} snapshotbuffer={buffer.Count}");
|
||||
|
||||
// interpolate snapshot
|
||||
Snapshot interpolated = InterpolateSnapshot(first, second, t);
|
||||
|
Loading…
Reference in New Issue
Block a user