removeEntityComponent
Script::removeEntityComponent
Removes a Component from an Entity.
Declaration
template <typename T>
void removeEntityComponent(Entity entity);
Parameters
Name |
Type |
Description |
---|---|---|
entity |
The Entity to remove the Component from. |
Returns
None.
Notes
The type of the Component to remove must be passed as a template.