feat(gui): 新增顶部栏预制体并优化UI布局与复用
新增通用顶部栏UI预制体top.prefab及其配置文件,调整天赋项预制体的内容宽度,在角色控制器和天赋面板中复用该预制体以减少重复代码,同时优化天赋面板的布局与组件配置。
This commit is contained in:
@@ -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
1014
assets/resources/gui/element/top.prefab
Normal file
1014
assets/resources/gui/element/top.prefab
Normal file
File diff suppressed because it is too large
Load Diff
13
assets/resources/gui/element/top.prefab.meta
Normal file
13
assets/resources/gui/element/top.prefab.meta
Normal 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
Reference in New Issue
Block a user