Пример #1
0
 /// <summary>
 /// Despawns this GameObject and destroys it for other clients. This should be used if the object should be kept on the server
 /// </summary>
 public void Despawn(bool destroy = false)
 {
     NetworkSpawnManager.DespawnObject(this, destroy);
 }