Entity:remove
Removes a Component from an Entity.
Removes a Component from an Entity.
entity = entity:remove( name )Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
name |
string | Name of the ComponentClass to remove |
Returns
Section titled “Returns”| Name | Type | Description |
|---|---|---|
entity |
Entity |