mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix comment
This commit is contained in:
parent
9a37b26f27
commit
794c9a2350
@ -1129,7 +1129,7 @@ public virtual void OnDeserialize(NetworkReader reader, bool initialState)
|
||||
|
||||
void SerializeSyncObjects(NetworkWriter writer, bool initialState)
|
||||
{
|
||||
// if initialState: write all SyncVars.
|
||||
// if initialState: write all SyncObjects (SyncList/Set/etc)
|
||||
// otherwise write dirtyBits+dirty SyncVars
|
||||
if (initialState)
|
||||
SerializeObjectsAll(writer);
|
||||
|
Loading…
Reference in New Issue
Block a user