跳转到内容

InferParams

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

InferParams<P> = { [K in keyof P]: InferParam<P[K]> }

Defined in: ecs/system.ts:124

The values a system body receives, derived from the parameters it declared — a Query(...) becomes a QueryInstance, a Res(X) becomes the resource value. Inferred, so a system body’s arguments are typed without annotation.

P extends readonly SystemParam[]