feat(界面): 为英雄信息组件添加出售按钮节点

- 在 HInfoComp 组件中新增 sell_node 属性用于关联出售按钮
- 在 hnode.prefab 中添加出售按钮节点及其子标签节点
- 调整现有节点的位置和缩放以适应新按钮的添加
This commit is contained in:
walkpan
2026-03-27 20:56:23 +08:00
parent 25cd0b419e
commit 79a0ed4798
3 changed files with 1696 additions and 1392 deletions

View File

@@ -14,6 +14,8 @@ const {property, ccclass } = _decorator;
export class HInfoComp extends CCComp {
@property(Node)
icon_node=null!
@property(Node)
sell_node=null!
private eid: number = 0;
private model: HeroAttrsComp | null = null;
private apLabel: Label | null = null;