mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-17 18:40:33 +00:00
NTHybrid: fix name and Unity 2019 support
This commit is contained in:
parent
1e04c9833b
commit
451c297a43
@ -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
|
Loading…
Reference in New Issue
Block a user