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