Skip to content

ECS Framework API v2.2.13


ECS Framework API / ExtractComponents

Type Alias: ExtractComponents<T>

ExtractComponents<T> = { [K in keyof T]: ComponentInstance<T[K]> }

Defined in: packages/core/src/Types/TypeHelpers.ts:34

多组件类型提取 从组件构造函数数组中提取所有实例类型的联合

Type Parameters

T

T extends readonly ComponentConstructor[]

Released under the MIT License.