Click or drag to resize
EntityManagerEntityIsAlive Method
Checks whether the entity with the passed id has been removed or not.

Namespace: Slash.ECS.Components
Assembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntax
public bool EntityIsAlive(
	int entityId
)

Parameters

entityId
Type: SystemInt32
Id of the entity to check.

Return Value

Type: Boolean
false , if the entity has been removed, and true otherwise.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionEntity id is negative.
ArgumentOutOfRangeExceptionEntity id has not yet been assigned.
See Also