重构(新手引导): 优化新手引导预制体并清理冗余配置

本次更新了guide1、guide2、guide3、guide4四个引导UI预制体,调整了其布局尺寸与对齐组件,同时清理了MSkillBox和role_controller中冗余的旧引导相关配置,提升代码可维护性。
This commit is contained in:
pan
2026-06-12 10:26:06 +08:00
parent facccf9a6a
commit 8e7334f1f0
7 changed files with 2883 additions and 5450 deletions

View File

@@ -22,23 +22,23 @@
"__id__": 2
},
{
"__id__": 14
"__id__": 16
}
],
"_active": true,
"_components": [
{
"__id__": 49
},
{
"__id__": 51
},
{
"__id__": 53
},
{
"__id__": 55
}
],
"_prefab": {
"__id__": 55
"__id__": 57
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -86,15 +86,18 @@
"_components": [
{
"__id__": 11
},
{
"__id__": 13
}
],
"_prefab": {
"__id__": 13
"__id__": 15
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -294.238,
"x": 292.448,
"y": -589.294,
"z": 0
},
"_lrot": {
@@ -306,8 +309,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 400,
"height": 140
"width": 1,
"height": 1
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -320,6 +323,42 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "8bH6M7VahGk79zZiTESQBG"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_alignFlags": 0,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "62k87Kfl5P57Q+/vUXWXHn"
},
{
"__type__": "cc.PrefabInfo",
"root": {
@@ -343,26 +382,26 @@
},
"_children": [
{
"__id__": 15
"__id__": 17
},
{
"__id__": 23
"__id__": 25
},
{
"__id__": 29
"__id__": 31
}
],
"_active": true,
"_components": [
{
"__id__": 44
"__id__": 46
},
{
"__id__": 46
"__id__": 48
}
],
"_prefab": {
"__id__": 48
"__id__": 50
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -399,23 +438,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 14
"__id__": 16
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
},
{
"__id__": 18
},
{
"__id__": 20
},
{
"__id__": 22
}
],
"_prefab": {
"__id__": 22
"__id__": 24
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -452,11 +491,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 15
"__id__": 17
},
"_enabled": true,
"__prefab": {
"__id__": 17
"__id__": 19
},
"_contentSize": {
"__type__": "cc.Size",
@@ -480,11 +519,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 15
"__id__": 17
},
"_enabled": true,
"__prefab": {
"__id__": 19
"__id__": 21
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -525,11 +564,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 15
"__id__": 17
},
"_enabled": true,
"__prefab": {
"__id__": 21
"__id__": 23
},
"_alignFlags": 40,
"_target": null,
@@ -574,20 +613,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 14
"__id__": 16
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 26
},
{
"__id__": 26
"__id__": 28
}
],
"_prefab": {
"__id__": 28
"__id__": 30
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -624,11 +663,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
"__id__": 25
},
"_enabled": true,
"__prefab": {
"__id__": 25
"__id__": 27
},
"_contentSize": {
"__type__": "cc.Size",
@@ -652,11 +691,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
"__id__": 25
},
"_enabled": true,
"__prefab": {
"__id__": 27
"__id__": 29
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -733,27 +772,27 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 14
"__id__": 16
},
"_children": [
{
"__id__": 30
"__id__": 32
}
],
"_active": false,
"_components": [
{
"__id__": 36
},
{
"__id__": 38
},
{
"__id__": 40
},
{
"__id__": 42
}
],
"_prefab": {
"__id__": 43
"__id__": 45
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -790,20 +829,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 29
"__id__": 31
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 31
"__id__": 33
},
{
"__id__": 33
"__id__": 35
}
],
"_prefab": {
"__id__": 35
"__id__": 37
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -840,11 +879,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 30
"__id__": 32
},
"_enabled": true,
"__prefab": {
"__id__": 32
"__id__": 34
},
"_contentSize": {
"__type__": "cc.Size",
@@ -868,11 +907,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 30
"__id__": 32
},
"_enabled": true,
"__prefab": {
"__id__": 34
"__id__": 36
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -949,11 +988,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 29
"__id__": 31
},
"_enabled": true,
"__prefab": {
"__id__": 37
"__id__": 39
},
"_contentSize": {
"__type__": "cc.Size",
@@ -977,11 +1016,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 29
"__id__": 31
},
"_enabled": true,
"__prefab": {
"__id__": 39
"__id__": 41
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -1022,15 +1061,15 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 29
"__id__": 31
},
"_enabled": true,
"__prefab": {
"__id__": 41
"__id__": 43
},
"clickEvents": [
{
"__id__": 42
"__id__": 44
}
],
"_interactable": true,
@@ -1105,11 +1144,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
"__id__": 16
},
"_enabled": true,
"__prefab": {
"__id__": 45
"__id__": 47
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1133,11 +1172,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
"__id__": 16
},
"_enabled": true,
"__prefab": {
"__id__": 47
"__id__": 49
},
"_alignFlags": 40,
"_target": null,
@@ -1186,7 +1225,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 50
"__id__": 52
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1214,7 +1253,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 52
"__id__": 54
},
"_alignFlags": 45,
"_target": null,
@@ -1250,13 +1289,13 @@
},
"_enabled": true,
"__prefab": {
"__id__": 54
"__id__": 56
},
"hand": {
"__id__": 2
},
"clickNode": {
"__id__": 29
"__id__": 31
},
"guide_id": 0,
"animation_name": "dianji",