docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class EntityManagerDebugExtensions

    The authoring-object lookups of EntityManager. They take and return Unity objects, which the Entities module, below the Core module, can't name, so they live in the package as extension methods; calls such as entityManager.Debug.GetAuthoringObjectForEntity(entity) read the same.

    Inheritance
    object
    EntityManagerDebugExtensions
    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    public static class EntityManagerDebugExtensions

    Methods

    Name Description
    GetAuthoringObjectForEntity(EntityManagerDebug, Entity)

    Returns the Authoring object for the entity. Returns null if the authoring object is not available. For example closed subscenes will always return null.

    GetEntitiesForAuthoringObject(EntityManagerDebug, Component, NativeList<Entity>)

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

    GetEntitiesForAuthoringObject(EntityManagerDebug, GameObject, NativeList<Entity>)

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

    GetEntitiesForAuthoringObject(EntityManagerDebug, Object, NativeList<Entity>)

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

    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)