feat(gui): 新增顶部栏预制体并优化UI布局与复用

新增通用顶部栏UI预制体top.prefab及其配置文件,调整天赋项预制体的内容宽度,在角色控制器和天赋面板中复用该预制体以减少重复代码,同时优化天赋面板的布局与组件配置。
This commit is contained in:
panw
2026-05-11 16:41:23 +08:00
parent bcef8fbc64
commit 2413e4d1cc
5 changed files with 1589 additions and 1237 deletions

View File

@@ -211,7 +211,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 180,
"width": 200,
"height": 230
},
"_anchorPoint": {
@@ -333,7 +333,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 180,
"width": 200,
"height": 230
},
"_anchorPoint": {
@@ -574,7 +574,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"width": 170,
"height": 140
},
"_anchorPoint": {
@@ -971,7 +971,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"width": 170,
"height": 140
},
"_anchorPoint": {
@@ -2961,7 +2961,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 180,
"width": 200,
"height": 230
},
"_anchorPoint": {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "56aee962-4a5e-45ae-a779-999444d06d18",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "top"
}
}

File diff suppressed because it is too large Load Diff