feat(card): 为卡牌组件添加等级显示节点
在 CardComp 类中添加 lv_node 属性,并在卡牌预制体中创建对应的等级显示 UI 结构,包含背景和多个星级图标,用于展示卡牌的等级信息。
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -83,6 +83,9 @@ export class CardComp extends CCComp {
|
|||||||
@property(Node)
|
@property(Node)
|
||||||
HF_node=null!
|
HF_node=null!
|
||||||
|
|
||||||
|
@property(Node)
|
||||||
|
lv_node=null!
|
||||||
|
|
||||||
// ======================== 运行时状态 ========================
|
// ======================== 运行时状态 ========================
|
||||||
|
|
||||||
/** 当前卡牌的金币费用 */
|
/** 当前卡牌的金币费用 */
|
||||||
|
|||||||
Reference in New Issue
Block a user