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.
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. |