跳转到内容

QueryResult

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

QueryResult<C> = [Entity, ...ComponentsData<C>]

Defined in: ecs/query.ts:368

One step of a QueryInstance: the entity, then each requested component’s data in the order it was asked for. A tuple, so destructuring it in a for…of is typed without annotation.

C extends readonly QueryArg[]