跳转到内容

QueryArg

此内容尚不支持你的语言。

QueryArg = AnyComponentDef | MutWrapper<AnyComponentDef> | AddedWrapper<AnyComponentDef> | ChangedWrapper<AnyComponentDef>

Defined in: ecs/query.ts:109

Anything Query accepts: a component for read access, or one wrapped in Mut to write, Added() to match only entities that just gained it, or Changed() to match only those whose copy was written since the last run.