removeEntity method

void removeEntity(
  1. Entity<Object> entity
)

Removes the given entity and its associated components from the registry.

Implementation

void removeEntity(Entity entity) {
  _di.removeGroup(groupEntity: entity);
}