From 51947ba9b506882f98d9be673545bf9a58813d99 Mon Sep 17 00:00:00 2001 From: miwarnec Date: Tue, 5 Nov 2024 11:55:09 +0100 Subject: [PATCH] comments --- .../Components/NetworkTransform/NetworkTransformHybrid2022.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs index 36e266e9f..80b68e8ae 100644 --- a/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs +++ b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs @@ -54,8 +54,8 @@ public class NetworkTransformHybrid2022 : NetworkBehaviour // save last deserialized baseline to delta decompress against byte lastDeserializedBaselineTick = 0; - Vector3 lastDeserializedBaselinePosition = Vector3.zero; - Quaternion lastDeserializedBaselineRotation = Quaternion.identity; + Vector3 lastDeserializedBaselinePosition = Vector3.zero; // unused, but keep for delta + Quaternion lastDeserializedBaselineRotation = Quaternion.identity; // unused, but keep for delta // only sync when changed hack ///////////////////////////////////////// [Header("Sync Only If Changed")]