Function removeEntityWithChildren
- removeEntityWithChildren(engine: Pick<IEngine, "defineComponentFromSchema" | "removeEntity" | "defineComponent" | "getEntitiesWith">, entity: Entity): void
-
Parameters
-
engine: Pick<IEngine, "defineComponentFromSchema" | "removeEntity" | "defineComponent" | "getEntitiesWith">
-
Returns void
Remove all components of each entity in the tree made with Transform parenting