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 |