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

@@ -99,7 +99,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 200,
"x": 183.23,
"y": 177,
"z": 0
},
@@ -446,6 +446,8 @@
"__id__": 0
},
"fileId": "b7CXK9ttxDz5mrJpDB4qA4",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -476,7 +478,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 100,
"y": 200,
"y": 215.538,
"z": 0
},
"_lrot": {
@@ -781,8 +783,6 @@
"__id__": 0
},
"fileId": "adFmHHJ5BBAY0CazvLDgGw",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -822,6 +822,8 @@
"__id__": 0
},
"fileId": "36Na+WXPtJRbtR9UQnCyaj",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -852,7 +854,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 100,
"y": 117.776,
"y": 100.445,
"z": 0
},
"_lrot": {
@@ -1157,8 +1159,6 @@
"__id__": 0
},
"fileId": "96QFNOz55OyZEByIPMUwVi",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -1198,6 +1198,8 @@
"__id__": 0
},
"fileId": "06y3o47t5NjZX9yks6rQWL",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -1227,7 +1229,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"x": 14.536,
"y": 250,
"z": 0
},
@@ -1574,6 +1576,8 @@
"__id__": 0
},
"fileId": "f2j7DYVutESIJc8Q7SiM91",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -1603,7 +1607,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"x": 9.847,
"y": 74.669,
"z": 0
},
@@ -1950,6 +1954,8 @@
"__id__": 0
},
"fileId": "cdrD/D+WdDiZtHCrbPOfP7",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{