Skip to content

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

Matcher.all() method

创建匹配器,要求所有指定的组件

Signature:

typescript
static all(...types: ComponentType[]): Matcher;

Parameters

Parameter

Type

Description

types

ComponentType[]

组件类型

Returns:

Matcher

基于 MIT 许可证发布