ECS Framework API / getComponentTypeName
Function: getComponentTypeName()
getComponentTypeName(
componentType):string
Defined in: packages/core/src/ECS/Decorators/TypeDecorators.ts:114
获取组件类型的名称,优先使用装饰器指定的名称
Parameters
componentType
组件构造函数
Returns
string
组件类型名称