Skip to content

ECS Framework API v2.2.13


ECS Framework API / getComponentInstanceTypeName

Function: getComponentInstanceTypeName()

getComponentInstanceTypeName(component): string

Defined in: packages/core/src/ECS/Decorators/TypeDecorators.ts:152

从组件实例获取类型名称

Parameters

component

Component

组件实例

Returns

string

组件类型名称

Released under the MIT License.