mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
comment
This commit is contained in:
parent
e951abeb34
commit
4685ee653d
@ -1238,6 +1238,7 @@ static void DestroyObject(NetworkIdentity identity, bool destroyServerObject)
|
|||||||
UnityEngine.Object.Destroy(identity.gameObject);
|
UnityEngine.Object.Destroy(identity.gameObject);
|
||||||
}
|
}
|
||||||
// otherwise simply .Reset() it.
|
// otherwise simply .Reset() it.
|
||||||
|
// for Unspawn() etc.
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
identity.Reset();
|
identity.Reset();
|
||||||
|
Loading…
Reference in New Issue
Block a user