Struct LinkedEntityGroup | Entities | 0.10.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Struct LinkedEntityGroup

    The LinkedEntityGroup buffer makes the entity be the root of a set of connected entities.

    Namespace: Unity.Entities
    Syntax
    public struct LinkedEntityGroup : IBufferElementData
    Remarks

    Referenced Prefabs automatically add a LinkedEntityGroup with the complete child hierarchy. EntityManager.Instantiate uses LinkedEntityGroup to instantiate the whole set of entities automatically. EntityManager.SetEnabled uses LinkedEntityGroup to enable the whole set of entities.

    Fields

    Value

    A child entity.

    Declaration
    public Entity Value
    Field Value
    Type Description
    Entity

    Operators

    Implicit(Entity to LinkedEntityGroup)

    Provides implicit conversion of an Entity to a LinkedEntityGroup element.

    Declaration
    public static implicit operator LinkedEntityGroup(Entity e)
    Parameters
    Type Name Description
    Entity e

    The entity to convert

    Returns
    Type Description
    LinkedEntityGroup

    A new buffer element.

    In This Article
    • Fields
      • Value
    • Operators
      • Implicit(Entity to LinkedEntityGroup)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023