 | EntityManagerGetComponents Method |
Returns all components of the entity with the specified id.
Namespace: Slash.ECS.ComponentsAssembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntaxpublic IEnumerable<IEntityComponent> GetComponents(
int entityId
)
Public Function GetComponents (
entityId As Integer
) As IEnumerable(Of IEntityComponent)
public:
IEnumerable<IEntityComponent^>^ GetComponents(
int entityId
)
member GetComponents :
entityId : int -> IEnumerable<IEntityComponent>
Parameters
- entityId
- Type: SystemInt32
Id of entity to get components for.
Return Value
Type:
IEnumerableIEntityComponentAll components of the entity with the specified id.
See Also