Method RemoveComponent
RemoveComponent<T>(Int32, Entity)
Declaration
public void RemoveComponent<T>(int sortKey, Entity e)
Parameters
Type Parameters
RemoveComponent(Int32, Entity, ComponentType)
Declaration
public void RemoveComponent(int sortKey, Entity e, ComponentType componentType)
Parameters
RemoveComponent(Int32, Entity, ComponentTypes)
Records a command to remove one or more components from an entity.
Declaration
public void RemoveComponent(int sortKey, Entity e, ComponentTypes types)
Parameters
Type |
Name |
Description |
Int32 |
sortKey |
|
Entity |
e |
The entity to have the components removed.
|
ComponentTypes |
types |
The types of components to remove.
|