docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct Child

    Contains a buffer of all elements which have assigned this entity as their Parent.

    Implements
    ICleanupBufferElementData
    IBufferElementData
    Namespace: Unity.Transforms
    Assembly: Unity.Transforms.dll
    Syntax
    [Serializable]
    [InternalBufferCapacity(8)]
    public struct Child : ICleanupBufferElementData, IBufferElementData
    Remarks

    The ParentSystem automatically adds and manages this component and its contents. You can read this list, but you shouldn't add or remove buffer elements.

    When an entity with this component is destroyed, the ParentSystem will automatically remove the Parent components from each child entity.

    Fields

    Name Description
    Value

    A child entity

    In This Article
    Back to top
    Copyright © 2024 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)