Click or drag to resize

EntityManager Methods

The EntityManager type exposes the following members.

Methods
  NameDescription
Public methodAddComponentT(EntityId)
Adds a component of the specified type T to the specified entity.
Public methodAddComponentT(EntityId, Object)
Adds a component of the specified type T to the specified entity with the specified constructor args.
Public methodCreate
Creates an entity with the specified specified entity.
Public methodDestroy(Component)
Destroys the specified component.
Public methodDestroy(EntityId)
Destroys the specified entity.
Public methodDestroyT(EntityId)
Destroys the components of the specified type T attached to the specified entity.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExists
Returns a value indicating whether the specified entity exists.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetChildren
Gets the children of the specified entity.
Public methodGetComponentT
Gets a component of the specified type T attached to any entity.
Public methodGetComponentT(EntityId)
Gets a component of the specified type T attached to the specified entity.
Public methodGetComponentInChildrenT
Gets a component of the specified type T attached to a child entity of the specified entity using a depth first search.
Public methodGetComponentInParentT
Gets a component of the specified type T attached to a parent entity of the specified entity.
Public methodGetComponentsT
Gets all components of the specified type T attached to any entity.
Public methodGetComponentsT(EntityId)
Gets all components of the specified type T attached to the specified entity.
Public methodGetComponentsInChildrenT
Gets all components of the specified type T attached to a child entity of the specified entity.
Public methodGetComponentsInParentT
Gets all components of the specified type T attached to a parent entity of the specified entity.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetParent
Gets the parent entity of the specified entity.
Public methodGetRootEntities
Gets all root entities with no parent.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also