Skip to content

函数: ObjClass() ​

ObjClass(objName): any

注册gameObj类

参数 ​

objName ​

string

obj的名称

返回 ​

any

示例 ​

ts
@LM.ObjClass("obj1")