Deleting all children of an object

In a multiplayer game, I want all other players except the client playing to be parented to an empty object. When each frame updates, I want the children of that object (containing all of the player prefabs) to be cleared and recreated. How would I do that during runtime? Thank you.

Hi @Kurios,

At any point you can use the following entity method to reparent an entity, change its parent in the hierarchy: