docs.unity.cn
    Show / Hide Table of Contents

    Method GetEntitiesForAuthoringObject

    GetEntitiesForAuthoringObject(GameObject, NativeList<Entity>)

    Lists all entities in this world that were converted from or are associated with the game object.

    Declaration
    public readonly void GetEntitiesForAuthoringObject(GameObject gameObject, NativeList<Entity> entities)
    Parameters
    Type Name Description
    GameObject gameObject
    NativeList<Entity> entities

    GetEntitiesForAuthoringObject(Component, NativeList<Entity>)

    Lists all entities in this world that were converted from or are associated with the game object.

    Declaration
    public readonly void GetEntitiesForAuthoringObject(Component component, NativeList<Entity> entities)
    Parameters
    Type Name Description
    Component component
    NativeList<Entity> entities

    GetEntitiesForAuthoringObject(Object, NativeList<Entity>)

    Lists all entities in this world that were converted from or are associated with the given object.

    Declaration
    public readonly void GetEntitiesForAuthoringObject(Object obj, NativeList<Entity> entities)
    Parameters
    Type Name Description
    Object obj
    NativeList<Entity> entities
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023