mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
improve comment
This commit is contained in:
parent
c176da7bc3
commit
b869e3af99
@ -790,9 +790,10 @@ public static void SetClientReady(NetworkConnection conn)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// add connection to each nearby NetworkIdentity's observers, which
|
||||||
|
// internally sends a spawn message for each one to the connection.
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Spawn/update all current server objects
|
|
||||||
if (LogFilter.Debug) Debug.Log("Spawning " + NetworkIdentity.spawned.Count + " objects for conn " + conn.connectionId);
|
if (LogFilter.Debug) Debug.Log("Spawning " + NetworkIdentity.spawned.Count + " objects for conn " + conn.connectionId);
|
||||||
|
|
||||||
conn.Send(new ObjectSpawnStartedMessage());
|
conn.Send(new ObjectSpawnStartedMessage());
|
||||||
|
Loading…
Reference in New Issue
Block a user