feat(技能UI): 添加技能冷却遮罩显示功能

为SkillBoxComp组件新增CD遮罩的初始化与帧更新逻辑,根据技能触发间隔动态计算冷却进度
调整多个技能相关预制体的布局,添加cd_mask精灵节点以支持冷却UI展示
优化部分技能框的UI排版与节点配置
This commit is contained in:
panFD
2026-06-04 21:12:12 +08:00
parent ac1c810636
commit 998300f721
4 changed files with 276 additions and 48 deletions

View File

@@ -31,17 +31,17 @@
"_active": true,
"_components": [
{
"__id__": 444
"__id__": 445
},
{
"__id__": 446
"__id__": 447
},
{
"__id__": 448
"__id__": 449
}
],
"_prefab": {
"__id__": 450
"__id__": 451
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1386,7 +1386,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -270,
"x": -180,
"y": 0,
"z": 0
},
@@ -2514,7 +2514,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -90,
"x": 0,
"y": 0,
"z": 0
},
@@ -3622,7 +3622,7 @@
"__id__": 189
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 209
@@ -4764,7 +4764,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 270,
"x": 180,
"y": 0,
"z": 0
},
@@ -9317,7 +9317,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 720,
"width": 540,
"height": 200
},
"_anchorPoint": {
@@ -9345,8 +9345,8 @@
},
"_alignFlags": 44,
"_target": null,
"_left": 0,
"_right": 0,
"_left": 90,
"_right": 90,
"_top": 0,
"_bottom": -2,
"_horizontalCenter": 0,
@@ -9714,6 +9714,9 @@
},
{
"__id__": 443
},
{
"__id__": 444
}
],
"removedComponents": []
@@ -9816,6 +9819,16 @@
],
"value": 1193.667
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 436
},
"propertyPath": [
"_active"
],
"value": false
},
{
"__type__": "cc.UITransform",
"_name": "GameUI<UITransform>",
@@ -9826,7 +9839,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 445
"__id__": 446
},
"_contentSize": {
"__type__": "cc.Size",
@@ -9854,7 +9867,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 447
"__id__": 448
},
"_alignFlags": 45,
"_target": null,
@@ -9890,7 +9903,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 449
"__id__": 450
},
"debugMode": false,
"_id": ""