feat(card): 为卡牌组件添加等级显示节点

在 CardComp 类中添加 lv_node 属性,并在卡牌预制体中创建对应的等级显示 UI 结构,包含背景和多个星级图标,用于展示卡牌的等级信息。
This commit is contained in:
walkpan
2026-04-21 20:30:20 +08:00
parent 24c32549c0
commit 183fe111ef
2 changed files with 1382 additions and 10 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -83,6 +83,9 @@ export class CardComp extends CCComp {
@property(Node) @property(Node)
HF_node=null! HF_node=null!
@property(Node)
lv_node=null!
// ======================== 运行时状态 ======================== // ======================== 运行时状态 ========================
/** 当前卡牌的金币费用 */ /** 当前卡牌的金币费用 */