docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    EntityManagerParentingExtensions
    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.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)