destroy
Destroy an entity.
Releases the entity ID and marks it as destroyed. The entity ID becomes invalid and should not be used after destruction.
Parameters
The entity to destroy.
Destroy multiple entities.
Destroys a batch of entities. This is more efficient than calling destroy() multiple times.
Parameters
Array of entities to destroy.
Destroy an entity.
Releases the entity ID and marks it as destroyed. The entity ID becomes invalid and should not be used after destruction.
Parameters
The entity to destroy.
Destroy multiple entities.
Destroys a batch of entities. This is more efficient than calling destroy() multiple times.
Parameters
Array of entities to destroy.
Destroy an entity.
Releases the entity ID and marks it as destroyed. The entity ID becomes invalid and should not be used after destruction.
Parameters
The entity to destroy.
Destroy multiple entities.
Destroys a batch of entities. This is more efficient than calling destroy() multiple times.
Parameters
Array of entities to destroy.
Destroy an entity.
Releases the entity ID and marks it as destroyed. The entity ID becomes invalid and should not be used after destruction.
Parameters
The entity to destroy.
Destroy multiple entities.
Destroys a batch of entities. This is more efficient than calling destroy() multiple times.
Parameters
Array of entities to destroy.
Destroy an entity.
Releases the entity ID and marks it as destroyed. The entity ID becomes invalid and should not be used after destruction.
Parameters
The entity to destroy.
Destroy multiple entities.
Destroys a batch of entities. This is more efficient than calling destroy() multiple times.
Parameters
Array of entities to destroy.