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 |