feat(victory-comp): 为胜利界面添加装饰节点并优化UI布局
1. 在VictoryComp组件中新增fireworks和halo装饰节点的序列化属性 2. 重构胜利界面预制体的节点结构,替换原有文本显示为装饰特效 3. 调整界面元素的位置、尺寸和样式,新增进度条与粒子特效节点 4. 更新预制体关联的资源引用与组件配置
This commit is contained in:
@@ -45,6 +45,12 @@ export class VictoryComp extends CCComp {
|
||||
@property({ type: Sprite, tooltip: "段位徽章图标(rank_icon 节点上的 Sprite)" })
|
||||
rank_icon: Sprite = null!;
|
||||
|
||||
@property({ type: Node, tooltip: "撒花装饰节点(fireworks,循环缩放弹跳)" })
|
||||
fireworks: Node = null!;
|
||||
|
||||
@property({ type: Node, tooltip: "光晕装饰节点(halo,持续旋转)" })
|
||||
halo: Node = null!;
|
||||
|
||||
@property({ type: Label, tooltip: "总分文本(total/score_label)" })
|
||||
total_score_label: Label = null!;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user