feat(map): add node_index property to HInfoComp

新增节点索引属性用于标识当前组件绑定的节点位置
This commit is contained in:
panw
2026-05-13 16:18:08 +08:00
parent 2443dfce85
commit b578e17186
2 changed files with 2509 additions and 1401 deletions

View File

@@ -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;
/** 绑定的英雄属性数据模型引用 */