Skip to content

Home > @esengine/ecs-framework-monorepo > Matcher > byComponent

Matcher.byComponent() method

创建单组件查询的匙配器

Signature:

typescript
static byComponent(componentType: ComponentType): Matcher;

Parameters

Parameter

Type

Description

componentType

ComponentType

组件类型

Returns:

Matcher

基于 MIT 许可证发布