Component Methods |
The Component type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddComponentT |
Adds a component of the specified type T to the entity.
|
![]() | AddComponentT(Object) |
Adds a component of the specified type T to the entity with the specified constructor args.
|
![]() | Destroy |
Destroys this component.
|
![]() | DestroyComponentsT |
Destroys the components of the specified type T attached to the entity.
|
![]() | DestroyEntity |
Destroys the entity.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetComponentT |
Gets a component of the specified type T attached to the entity.
|
![]() | GetComponentInChildrenT |
Gets a component of the specified type T attached to a child entity of the entity using a depth first search.
|
![]() | GetComponentInParentT |
Gets a component of the specified type T attached to a parent entity of the entity.
|
![]() | GetComponentsT |
Gets all components of the specified type T attached to the entity.
|
![]() | GetComponentsInChildrenT |
Gets all components of the specified type T attached to a child entity of the entity.
|
![]() | GetComponentsInParentT |
Gets all components of the specified type T attached to a parent entity of the entity.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnDestroyComponent |
This method is invoked before this component is destroyed and removed from its entity.
|
![]() | OnInitializeComponent |
This method is invoked after this component has been attached the an entity.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |