Compare commits

..

2 Commits

Author SHA1 Message Date
mischa
777b2a9822
Merge 3df73ea9f1 into 451c297a43 2024-11-12 22:21:40 +02:00
miwarnec
451c297a43 NTHybrid: fix name and Unity 2019 support
Some checks failed
Main / Run Unity Tests (push) Has been cancelled
Main / Delete Old Workflow Runs (push) Has been cancelled
Main / Semantic Release (push) Has been cancelled
2024-11-11 16:58:42 +01: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.
Time.timeAsDouble,
NetworkTime.localTime, // Unity 2019 doesn't have Time.timeAsDouble yet
position,
rotation,
scale
@ -711,7 +711,7 @@ protected virtual void OnServerToClientDeltaSync(byte baselineTick, Vector3 posi
bufferSizeLimit,
new TransformSnapshot(
timestamp, // arrival remote timestamp. NOT remote time.
Time.timeAsDouble,
NetworkTime.localTime, // Unity 2019 doesn't have Time.timeAsDouble yet
position,
rotation,
scale