Skip to content

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

IScene.destroyAllEntities() method

销毁所有实体

Signature:

typescript
destroyAllEntities(): void;

Returns:

void

基于 MIT 许可证发布