Methods
(static) Add(object) → {void}
Adds an entity to the destroy queue. Note: If a component is added to the destroy queue, The entire entity will be destroyed.
Parameters:
Name | Type | Description |
---|---|---|
object | Entity | The entity to be destroyed. or the component of the entity to be destroyed. |
- Source
Returns:
- Type:
- void