Home > @esengine/ecs-framework-monorepo > IScene > getEntityProcessor
IScene.getEntityProcessor() method
获取实体处理器
Signature:
typescript
getEntityProcessor<T extends EntitySystem>(type: new (...args: any[]) => T): T | null;
Parameters
Parameter | Type | Description |
---|---|---|
type | new (...args: any[]) => T |
Returns:
T | null