docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetEntitiesForAuthoringObject

    GetEntitiesForAuthoringObject(EntityManagerDebug, GameObject, NativeList<Entity>)

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

    Declaration
    public static void GetEntitiesForAuthoringObject(this EntityManager.EntityManagerDebug debug, GameObject gameObject, NativeList<Entity> entities)
    Parameters
    Type Name Description
    EntityManager.EntityManagerDebug debug
    GameObject gameObject
    NativeList<Entity> entities

    GetEntitiesForAuthoringObject(EntityManagerDebug, Component, NativeList<Entity>)

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

    Declaration
    public static void GetEntitiesForAuthoringObject(this EntityManager.EntityManagerDebug debug, Component component, NativeList<Entity> entities)
    Parameters
    Type Name Description
    EntityManager.EntityManagerDebug debug
    Component component
    NativeList<Entity> entities

    GetEntitiesForAuthoringObject(EntityManagerDebug, Object, NativeList<Entity>)

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

    Declaration
    public static void GetEntitiesForAuthoringObject(this EntityManager.EntityManagerDebug debug, Object obj, NativeList<Entity> entities)
    Parameters
    Type Name Description
    EntityManager.EntityManagerDebug debug
    Object obj
    NativeList<Entity> entities
    In This Article
    Back to top
    Copyright © 2026 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)