EntityManager Methods |
The EntityManager 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.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Exists |
Returns a value indicating whether the specified entity exists.
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | 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.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetParent |
Gets the parent entity of the specified entity.
|
![]() | GetRootEntities |
Gets all root entities with no parent.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |