Method DestroyEntity
DestroyEntity(Entity)
Declaration
public void DestroyEntity(Entity e)
Parameters
Type | Name | Description |
---|---|---|
Entity | e |
DestroyEntity(EntityQuery)
Records a command to destroy all entities matching a query.
Declaration
public void DestroyEntity(EntityQuery entityQuery)
Parameters
Type | Name | Description |
---|---|---|
EntityQuery | entityQuery | The query specifying which entities from which the component is removed. |
Remarks
The query is performed at playback time, not when the method is called.