mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +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,
|
bufferSizeLimit,
|
||||||
new TransformSnapshot(
|
new TransformSnapshot(
|
||||||
timestamp, // arrival remote timestamp. NOT remote time.
|
timestamp, // arrival remote timestamp. NOT remote time.
|
||||||
Time.timeAsDouble,
|
NetworkTime.localTime, // Unity 2019 doesn't have Time.timeAsDouble yet
|
||||||
position,
|
position,
|
||||||
rotation,
|
rotation,
|
||||||
scale
|
scale
|
||||||
@ -711,7 +711,7 @@ protected virtual void OnServerToClientDeltaSync(byte baselineTick, Vector3 posi
|
|||||||
bufferSizeLimit,
|
bufferSizeLimit,
|
||||||
new TransformSnapshot(
|
new TransformSnapshot(
|
||||||
timestamp, // arrival remote timestamp. NOT remote time.
|
timestamp, // arrival remote timestamp. NOT remote time.
|
||||||
Time.timeAsDouble,
|
NetworkTime.localTime, // Unity 2019 doesn't have Time.timeAsDouble yet
|
||||||
position,
|
position,
|
||||||
rotation,
|
rotation,
|
||||||
scale
|
scale
|
Loading…
Reference in New Issue
Block a user