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