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