Compare commits

..

1 Commits

Author SHA1 Message Date
mischa
32d0796052
Merge 3df73ea9f1 into 1e04c9833b 2024-11-11 21:19:33 +08:00
2 changed files with 3 additions and 3 deletions

View File

@ -367,7 +367,7 @@ protected virtual void OnClientToServerDeltaSync(byte baselineTick, Vector3 posi
bufferSizeLimit,
new TransformSnapshot(
timestamp, // arrival remote timestamp. NOT remote time.
NetworkTime.localTime, // Unity 2019 doesn't have Time.timeAsDouble yet
Time.timeAsDouble,
position,
rotation,
scale
@ -710,8 +710,8 @@ protected virtual void OnServerToClientDeltaSync(byte baselineTick, Vector3 posi
clientSnapshots,
bufferSizeLimit,
new TransformSnapshot(
timestamp, // arrival remote timestamp. NOT remote time.
NetworkTime.localTime, // Unity 2019 doesn't have Time.timeAsDouble yet
timestamp, // arrival remote timestamp. NOT remote time.
Time.timeAsDouble,
position,
rotation,
scale