Home > @esengine/ecs-framework-monorepo > Matcher > byComponent
Matcher.byComponent() method
创建单组件查询的匙配器
Signature:
typescript
static byComponent(componentType: ComponentType): Matcher;
Parameters
Parameter | Type | Description |
---|---|---|
componentType | 组件类型 |
Returns: