docs.unity.cn
    Show / Hide Table of Contents

    Method DeclareLinkedEntityGroup

    DeclareLinkedEntityGroup(GameObject)

    Adds a LinkedEntityGroup to the primary Entity of this GameObject for all Entities that are created from this GameObject and its descendants. As a result, EntityManager.Instantiate and EntityManager.SetEnabled will work on those Entities as a group.

    Declaration
    public void DeclareLinkedEntityGroup(GameObject gameObject)
    Parameters
    Type Name Description
    GameObject gameObject
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 04 August 2022
    Terms of use