Click or drag to resize
EntityManagerEntitiesWithComponent Method
Returns an iterator over all entities having components of the specified type attached.

Namespace: Slash.ECS.Components
Assembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntax
public IEnumerable<int> EntitiesWithComponent(
	Type type
)

Parameters

type
Type: SystemType
Type of the components to get the entities of.

Return Value

Type: IEnumerableInt32
Entities having components of the specified type attached.
Exceptions
ExceptionCondition
ArgumentNullExceptionSpecified type is null.
See Also