docs.unity3d.com
Search Results for

    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 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 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 void GetEntitiesForAuthoringObject(Object obj, NativeList<Entity> entities)
    Parameters
    Type Name Description
    Object obj
    NativeList<Entity> entities
    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)