feat(map): add node_index property to HInfoComp
新增节点索引属性用于标识当前组件绑定的节点位置
This commit is contained in:
@@ -60,6 +60,9 @@ export class HInfoComp extends CCComp {
|
||||
@property(Node)
|
||||
lv_node=null!
|
||||
|
||||
@property(Number)
|
||||
node_index=0
|
||||
|
||||
/** 绑定的英雄 ECS 实体 ID */
|
||||
private eid: number = 0;
|
||||
/** 绑定的英雄属性数据模型引用 */
|
||||
|
||||
Reference in New Issue
Block a user