Class EntityManagerParentingExtensions
Extension methods for EntityManager to manage parent/child transform hierarchies. These are currently extension methods on EntityManager as Unity.Entities cannot have a dependency on Unity.Transforms.
Namespace: Unity.Entities
Assembly: Unity.Transforms.dll
Syntax
public static class EntityManagerParentingExtensions
Methods
| Name | Description |
|---|---|
| DetachChildren(EntityManager, Entity, bool) | Break the parent/child links between the target entity and all of its children. Each child entity becomes the root of a new hierarchy. |
| SetParent(EntityManager, Entity, Entity, bool) | Establish a new link between a child and parent entity. |