Skip to content

Home > @esengine/ecs-framework-monorepo > Scene > destroyAllEntities

Scene.destroyAllEntities() method

从场景中删除所有实体

Signature:

typescript
destroyAllEntities(): void;

Returns:

void

基于 MIT 许可证发布