Home > @esengine/ecs-framework-monorepo > World > getGlobalSystem
World.getGlobalSystem() method
获取全局System
Signature:
typescript
getGlobalSystem<T extends IGlobalSystem>(type: new (...args: any[]) => T): T | null;
Parameters
Parameter | Type | Description |
---|---|---|
type | new (...args: any[]) => T |
Returns:
T | null