Skip to content

Home > @esengine/ecs-framework-monorepo > World > addGlobalSystem

World.addGlobalSystem() method

添加全局System 全局System会在所有激活Scene之前更新

Signature:

typescript
addGlobalSystem<T extends IGlobalSystem>(system: T): T;

Parameters

Parameter

Type

Description

system

T

Returns:

T

基于 MIT 许可证发布