mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
comment
This commit is contained in:
parent
8aff6ff725
commit
ca964154e6
@ -2095,6 +2095,8 @@ static void BroadcastToConnection(NetworkConnectionToClient connection, bool unr
|
||||
// even if we pass SyncMethod.Reliable, it serializes with initialState=true.
|
||||
(NetworkWriter baselineSerialization, NetworkWriter deltaSerialization) = SerializeForConnection_UnreliableComponents(identity, connection, unreliableBaselineElapsed);
|
||||
|
||||
// send unreliable delta first. ideally we want this to arrive before the new baseline.
|
||||
// reliable baseline also clears dirty bits, so unreliable must be sent first.
|
||||
if (deltaSerialization != null)
|
||||
{
|
||||
EntityStateMessageUnreliable message = new EntityStateMessageUnreliable
|
||||
|
Loading…
Reference in New Issue
Block a user