IEntityManager Methods |
The IEntityManager type exposes the following members.
Name | Description | |
---|---|---|
AddComponentT(EntityId) |
Adds a component of the specified type T to the specified entity.
| |
AddComponentT(EntityId, Object) |
Adds a component of the specified type T to the specified entity with the
specified constructor args.
| |
Create |
Creates an entity with the specified specified entity.
| |
Destroy(Component) |
Destroys the specified component.
| |
Destroy(EntityId) |
Destroys the specified entity.
| |
DestroyT(EntityId) |
Destroys the components of the specified type T attached to the specified
entity.
| |
Exists |
Returns a value indicating whether the specified entity exists.
| |
GetChildren |
Gets the children of the specified entity.
| |
GetComponentT |
Gets a component of the specified type T attached to any entity.
| |
GetComponentT(EntityId) |
Gets a component of the specified type T attached to the specified entity.
| |
GetComponentInChildrenT |
Gets a component of the specified type T attached to a child entity of the specified
entity using a depth first search.
| |
GetComponentInParentT |
Gets a component of the specified type T attached to a parent entity of the specified
entity.
| |
GetComponentsT |
Gets all components of the specified type T attached to any entity.
| |
GetComponentsT(EntityId) |
Gets all components of the specified type T attached to the specified
entity.
| |
GetComponentsInChildrenT |
Gets all components of the specified type T attached to a child entity of the specified
entity.
| |
GetComponentsInParentT |
Gets all components of the specified type T attached to a parent entity of the specified
entity.
| |
GetParent |
Gets the parent entity of the specified entity.
| |
GetRootEntities |
Gets all root entities with no parent.
|