mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
a643cf7045
commit
01d1630b7f
@ -960,12 +960,12 @@ static NetworkIdentity SpawnPrefab(SpawnMessage message)
|
||||
return null;
|
||||
}
|
||||
|
||||
static NetworkIdentity SpawnSceneObject(SpawnMessage msg)
|
||||
static NetworkIdentity SpawnSceneObject(SpawnMessage message)
|
||||
{
|
||||
NetworkIdentity identity = GetAndRemoveSceneObject(msg.sceneId);
|
||||
NetworkIdentity identity = GetAndRemoveSceneObject(message.sceneId);
|
||||
if (identity == null)
|
||||
{
|
||||
Debug.LogError($"Spawn scene object not found for {msg.sceneId:X} SpawnableObjects.Count={spawnableObjects.Count}");
|
||||
Debug.LogError($"Spawn scene object not found for {message.sceneId:X} SpawnableObjects.Count={spawnableObjects.Count}");
|
||||
|
||||
// dump the whole spawnable objects dict for easier debugging
|
||||
//foreach (KeyValuePair<ulong, NetworkIdentity> kvp in spawnableObjects)
|
||||
|
Loading…
Reference in New Issue
Block a user