mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
f38d7e4164
commit
8aff6ff725
@ -2078,6 +2078,7 @@ static void BroadcastToConnection(NetworkConnectionToClient connection, bool unr
|
||||
//
|
||||
// TODO make this less magic in the future. too easy to miss.
|
||||
unreliableBaselineElapsed);
|
||||
|
||||
if (serialization != null)
|
||||
{
|
||||
EntityStateMessage message = new EntityStateMessage
|
||||
@ -2093,6 +2094,7 @@ static void BroadcastToConnection(NetworkConnectionToClient connection, bool unr
|
||||
// note that syncInterval is always ignored for unreliable in order to have tick aligned [SyncVars].
|
||||
// even if we pass SyncMethod.Reliable, it serializes with initialState=true.
|
||||
(NetworkWriter baselineSerialization, NetworkWriter deltaSerialization) = SerializeForConnection_UnreliableComponents(identity, connection, unreliableBaselineElapsed);
|
||||
|
||||
if (deltaSerialization != null)
|
||||
{
|
||||
EntityStateMessageUnreliable message = new EntityStateMessageUnreliable
|
||||
|
Loading…
Reference in New Issue
Block a user