mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Syntax
This commit is contained in:
parent
39098090b6
commit
418fc02b3f
@ -985,9 +985,10 @@ static void UnSpawnObject(GameObject obj)
|
||||
}
|
||||
|
||||
NetworkIdentity identity;
|
||||
if (!GetNetworkIdentity(obj, out identity)) return;
|
||||
|
||||
UnSpawnObject(identity);
|
||||
if (GetNetworkIdentity(obj, out identity))
|
||||
{
|
||||
UnSpawnObject(identity);
|
||||
}
|
||||
}
|
||||
|
||||
static void UnSpawnObject(NetworkIdentity identity)
|
||||
|
Loading…
Reference in New Issue
Block a user