Skip to content

Home > @esengine/ecs-framework-monorepo > EntitySystem > reset

EntitySystem.reset() method

重置系统状态

当系统从场景中移除时调用,重置初始化状态以便重新添加时能正确初始化。

Signature:

typescript
reset(): void;

Returns:

void

基于 MIT 许可证发布