Skip to content

Commit

Permalink
NTHybrid: fix name and Unity 2019 support
Browse files Browse the repository at this point in the history
  • Loading branch information
miwarnec committed Nov 11, 2024
1 parent 1e04c98 commit 451c297
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -710,8 +710,8 @@ protected virtual void OnServerToClientDeltaSync(byte baselineTick, Vector3 posi
clientSnapshots,
bufferSizeLimit,
new TransformSnapshot(
timestamp, // arrival remote timestamp. NOT remote time.
Time.timeAsDouble,
timestamp, // arrival remote timestamp. NOT remote time.
NetworkTime.localTime, // Unity 2019 doesn't have Time.timeAsDouble yet
position,
rotation,
scale
Expand Down

0 comments on commit 451c297

Please sign in to comment.