From 083062ce1884d762b37f3cb887ad613bc16892a0 Mon Sep 17 00:00:00 2001 From: vis2k Date: Sat, 19 Jun 2021 15:21:46 +0800 Subject: [PATCH] disable logs --- Assets/Mirror/Components/NetworkTransformBase.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Mirror/Components/NetworkTransformBase.cs b/Assets/Mirror/Components/NetworkTransformBase.cs index 030bec9e7..c96c4806e 100644 --- a/Assets/Mirror/Components/NetworkTransformBase.cs +++ b/Assets/Mirror/Components/NetworkTransformBase.cs @@ -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);