clearEntities method

void clearEntities()

Implementation

void clearEntities() {
  for (final entity in _entities) {
    if (selected == entity) {
      selected = null;
      controller.gizmo?.detach();
    }
    _onUnloadController.add(entity);
  }
  _entities.clear();
  _onUpdatedController.add(true);
}