{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct LinkedEntityGroup | Entities | 1.2.0-exp.3
docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Struct LinkedEntityGroup

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

    Implements
    IBufferElementData
    Namespace: Unity.Entities
    Assembly: solution.dll
    Syntax
    [InternalBufferCapacity(1)]
    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

    Name Description
    Value

    A child entity.

    Operators

    Name Description
    implicit operator LinkedEntityGroup(Entity)

    Provides implicit conversion of an Entity to a LinkedEntityGroup element.

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