diff --git a/assets/resources/gui/element/SInfoBox.prefab b/assets/resources/gui/element/SInfoBox.prefab
index ec5d1f6d..0a05a0bb 100644
--- a/assets/resources/gui/element/SInfoBox.prefab
+++ b/assets/resources/gui/element/SInfoBox.prefab
@@ -22,46 +22,31 @@
"__id__": 2
},
{
- "__id__": 26
- },
- {
- "__id__": 61
- },
- {
- "__id__": 77
- },
- {
- "__id__": 89
- },
- {
- "__id__": 114
- },
- {
- "__id__": 133
+ "__id__": 8
}
],
"_active": true,
"_components": [
{
- "__id__": 139
+ "__id__": 173
},
{
- "__id__": 141
+ "__id__": 175
},
{
- "__id__": 143
+ "__id__": 177
},
{
- "__id__": 145
+ "__id__": 179
}
],
"_prefab": {
- "__id__": 283
+ "__id__": 317
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
- "y": 310.354,
+ "y": 0,
"z": 0
},
"_lrot": {
@@ -89,111 +74,24 @@
},
{
"__type__": "cc.Node",
+ "_name": "close",
"_objFlags": 0,
+ "__editorExtras__": {},
"_parent": {
"__id__": 1
},
- "_prefab": {
- "__id__": 3
- },
- "__editorExtras__": {}
- },
- {
- "__type__": "cc.PrefabInfo",
- "root": {
- "__id__": 2
- },
- "asset": {
- "__uuid__": "976d002f-42d5-4661-a3ce-d288bcb47063",
- "__expectedType__": "cc.Prefab"
- },
- "fileId": "abejF2+VlFF4OElV/czJUn",
- "instance": {
- "__id__": 4
- },
- "targetOverrides": null
- },
- {
- "__type__": "cc.PrefabInstance",
- "fileId": "40y5FEyU9EOYpaomF9+67j",
- "prefabRootNode": {
- "__id__": 1
- },
- "mountedChildren": [
- {
- "__id__": 5
- }
- ],
- "mountedComponents": [],
- "propertyOverrides": [
- {
- "__id__": 13
- },
- {
- "__id__": 15
- },
- {
- "__id__": 16
- },
- {
- "__id__": 17
- },
- {
- "__id__": 18
- },
- {
- "__id__": 20
- },
- {
- "__id__": 22
- },
- {
- "__id__": 24
- }
- ],
- "removedComponents": []
- },
- {
- "__type__": "cc.MountedChildrenInfo",
- "targetInfo": {
- "__id__": 6
- },
- "nodes": [
- {
- "__id__": 7
- }
- ]
- },
- {
- "__type__": "cc.TargetInfo",
- "localID": [
- "abejF2+VlFF4OElV/czJUn"
- ]
- },
- {
- "__type__": "cc.Node",
- "_name": "deco",
- "_objFlags": 0,
- "__editorExtras__": {
- "mountedRoot": {
- "__id__": 2
- }
- },
- "_parent": {
- "__id__": 2
- },
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 8
+ "__id__": 3
},
{
- "__id__": 10
+ "__id__": 5
}
],
"_prefab": {
- "__id__": 12
+ "__id__": 7
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -230,12 +128,317 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 7
+ "__id__": 2
},
"_enabled": true,
"__prefab": {
+ "__id__": 4
+ },
+ "_contentSize": {
+ "__type__": "cc.Size",
+ "width": 720,
+ "height": 1280
+ },
+ "_anchorPoint": {
+ "__type__": "cc.Vec2",
+ "x": 0.5,
+ "y": 0.5
+ },
+ "_id": ""
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "f77jvWzGZFSbkG8Pi0G0dI"
+ },
+ {
+ "__type__": "cc.Widget",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "node": {
+ "__id__": 2
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 6
+ },
+ "_alignFlags": 45,
+ "_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": 100,
+ "_originalHeight": 100,
+ "_alignMode": 2,
+ "_lockFlags": 0,
+ "_id": ""
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "feZNfeDChCrLzIakmwiCY8"
+ },
+ {
+ "__type__": "cc.PrefabInfo",
+ "root": {
+ "__id__": 1
+ },
+ "asset": {
+ "__id__": 0
+ },
+ "fileId": "a53acH23dAf5QhTAMrJZl7",
+ "instance": null,
+ "targetOverrides": null,
+ "nestedPrefabInstanceRoots": null
+ },
+ {
+ "__type__": "cc.Node",
+ "_name": "Node",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "_parent": {
+ "__id__": 1
+ },
+ "_children": [
+ {
+ "__id__": 9
+ },
+ {
+ "__id__": 43
+ },
+ {
+ "__id__": 78
+ },
+ {
+ "__id__": 94
+ },
+ {
+ "__id__": 106
+ },
+ {
+ "__id__": 138
+ },
+ {
+ "__id__": 162
+ }
+ ],
+ "_active": true,
+ "_components": [
+ {
+ "__id__": 168
+ },
+ {
+ "__id__": 170
+ }
+ ],
+ "_prefab": {
+ "__id__": 172
+ },
+ "_lpos": {
+ "__type__": "cc.Vec3",
+ "x": 0,
+ "y": 280.489,
+ "z": 0
+ },
+ "_lrot": {
+ "__type__": "cc.Quat",
+ "x": 0,
+ "y": 0,
+ "z": 0,
+ "w": 1
+ },
+ "_lscale": {
+ "__type__": "cc.Vec3",
+ "x": 1,
+ "y": 1,
+ "z": 1
+ },
+ "_mobility": 0,
+ "_layer": 1073741824,
+ "_euler": {
+ "__type__": "cc.Vec3",
+ "x": 0,
+ "y": 0,
+ "z": 0
+ },
+ "_id": ""
+ },
+ {
+ "__type__": "cc.Node",
+ "_objFlags": 0,
+ "_parent": {
+ "__id__": 8
+ },
+ "_prefab": {
+ "__id__": 10
+ },
+ "__editorExtras__": {}
+ },
+ {
+ "__type__": "cc.PrefabInfo",
+ "root": {
"__id__": 9
},
+ "asset": {
+ "__uuid__": "976d002f-42d5-4661-a3ce-d288bcb47063",
+ "__expectedType__": "cc.Prefab"
+ },
+ "fileId": "abejF2+VlFF4OElV/czJUn",
+ "instance": {
+ "__id__": 11
+ },
+ "targetOverrides": null
+ },
+ {
+ "__type__": "cc.PrefabInstance",
+ "fileId": "40y5FEyU9EOYpaomF9+67j",
+ "prefabRootNode": {
+ "__id__": 1
+ },
+ "mountedChildren": [
+ {
+ "__id__": 12
+ }
+ ],
+ "mountedComponents": [
+ {
+ "__id__": 20
+ }
+ ],
+ "propertyOverrides": [
+ {
+ "__id__": 24
+ },
+ {
+ "__id__": 26
+ },
+ {
+ "__id__": 27
+ },
+ {
+ "__id__": 28
+ },
+ {
+ "__id__": 29
+ },
+ {
+ "__id__": 31
+ },
+ {
+ "__id__": 33
+ },
+ {
+ "__id__": 35
+ },
+ {
+ "__id__": 37
+ },
+ {
+ "__id__": 39
+ },
+ {
+ "__id__": 40
+ },
+ {
+ "__id__": 41
+ },
+ {
+ "__id__": 42
+ }
+ ],
+ "removedComponents": []
+ },
+ {
+ "__type__": "cc.MountedChildrenInfo",
+ "targetInfo": {
+ "__id__": 13
+ },
+ "nodes": [
+ {
+ "__id__": 14
+ }
+ ]
+ },
+ {
+ "__type__": "cc.TargetInfo",
+ "localID": [
+ "abejF2+VlFF4OElV/czJUn"
+ ]
+ },
+ {
+ "__type__": "cc.Node",
+ "_name": "deco",
+ "_objFlags": 0,
+ "__editorExtras__": {
+ "mountedRoot": {
+ "__id__": 9
+ }
+ },
+ "_parent": {
+ "__id__": 9
+ },
+ "_children": [],
+ "_active": true,
+ "_components": [
+ {
+ "__id__": 15
+ },
+ {
+ "__id__": 17
+ }
+ ],
+ "_prefab": {
+ "__id__": 19
+ },
+ "_lpos": {
+ "__type__": "cc.Vec3",
+ "x": 0,
+ "y": 0,
+ "z": 0
+ },
+ "_lrot": {
+ "__type__": "cc.Quat",
+ "x": 0,
+ "y": 0,
+ "z": 0,
+ "w": 1
+ },
+ "_lscale": {
+ "__type__": "cc.Vec3",
+ "x": 1,
+ "y": 1,
+ "z": 1
+ },
+ "_mobility": 0,
+ "_layer": 1073741824,
+ "_euler": {
+ "__type__": "cc.Vec3",
+ "x": 0,
+ "y": 0,
+ "z": 0
+ },
+ "_id": ""
+ },
+ {
+ "__type__": "cc.UITransform",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "node": {
+ "__id__": 14
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 16
+ },
"_contentSize": {
"__type__": "cc.Size",
"width": 600,
@@ -258,11 +461,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 7
+ "__id__": 14
},
"_enabled": true,
"__prefab": {
- "__id__": 11
+ "__id__": 18
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -310,10 +513,49 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
+ {
+ "__type__": "cc.MountedComponentsInfo",
+ "targetInfo": {
+ "__id__": 21
+ },
+ "components": [
+ {
+ "__id__": 22
+ }
+ ]
+ },
+ {
+ "__type__": "cc.TargetInfo",
+ "localID": [
+ "abejF2+VlFF4OElV/czJUn"
+ ]
+ },
+ {
+ "__type__": "cc.BlockInputEvents",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {
+ "mountedRoot": {
+ "__id__": 9
+ }
+ },
+ "node": {
+ "__id__": 9
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 23
+ },
+ "_id": ""
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "8fn2uSm3VOpaKxSvsTOQqY"
+ },
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 14
+ "__id__": 25
},
"propertyPath": [
"_name"
@@ -329,7 +571,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 14
+ "__id__": 25
},
"propertyPath": [
"_lpos"
@@ -337,14 +579,14 @@
"value": {
"__type__": "cc.Vec3",
"x": 0,
- "y": 0,
+ "y": 1.068,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 14
+ "__id__": 25
},
"propertyPath": [
"_lrot"
@@ -360,7 +602,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 14
+ "__id__": 25
},
"propertyPath": [
"_euler"
@@ -375,7 +617,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 19
+ "__id__": 30
},
"propertyPath": [
"_contentSize"
@@ -395,7 +637,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 21
+ "__id__": 32
},
"propertyPath": [
"_contentSize"
@@ -415,7 +657,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 23
+ "__id__": 34
},
"propertyPath": [
"_lpos"
@@ -436,7 +678,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 25
+ "__id__": 36
},
"propertyPath": [
"_contentSize"
@@ -453,21 +695,77 @@
"2bSl5MVoJErbWJ6u/sWqCM"
]
},
+ {
+ "__type__": "CCPropertyOverrideInfo",
+ "targetInfo": {
+ "__id__": 38
+ },
+ "propertyPath": [
+ "_alignFlags"
+ ],
+ "value": 40
+ },
+ {
+ "__type__": "cc.TargetInfo",
+ "localID": [
+ "02mcMjISdFcYGx8NyJXxs9"
+ ]
+ },
+ {
+ "__type__": "CCPropertyOverrideInfo",
+ "targetInfo": {
+ "__id__": 38
+ },
+ "propertyPath": [
+ "_enabled"
+ ],
+ "value": false
+ },
+ {
+ "__type__": "CCPropertyOverrideInfo",
+ "targetInfo": {
+ "__id__": 38
+ },
+ "propertyPath": [
+ "_top"
+ ],
+ "value": -203.071
+ },
+ {
+ "__type__": "CCPropertyOverrideInfo",
+ "targetInfo": {
+ "__id__": 38
+ },
+ "propertyPath": [
+ "_left"
+ ],
+ "value": 40
+ },
+ {
+ "__type__": "CCPropertyOverrideInfo",
+ "targetInfo": {
+ "__id__": 38
+ },
+ "propertyPath": [
+ "_right"
+ ],
+ "value": 40
+ },
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
- "__id__": 1
+ "__id__": 8
},
"_prefab": {
- "__id__": 27
+ "__id__": 44
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
- "__id__": 26
+ "__id__": 43
},
"asset": {
"__uuid__": "c887ba55-bb80-4c4b-b0e1-0d265b3f58e0",
@@ -475,7 +773,7 @@
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": {
- "__id__": 28
+ "__id__": 45
},
"targetOverrides": null
},
@@ -488,83 +786,83 @@
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
- {
- "__id__": 29
- },
- {
- "__id__": 31
- },
- {
- "__id__": 32
- },
- {
- "__id__": 33
- },
- {
- "__id__": 34
- },
- {
- "__id__": 36
- },
- {
- "__id__": 38
- },
- {
- "__id__": 40
- },
- {
- "__id__": 41
- },
- {
- "__id__": 42
- },
- {
- "__id__": 43
- },
- {
- "__id__": 44
- },
{
"__id__": 46
},
{
- "__id__": 47
+ "__id__": 48
},
{
"__id__": 49
},
{
- "__id__": 51
+ "__id__": 50
},
{
- "__id__": 52
+ "__id__": 51
},
{
"__id__": 53
},
- {
- "__id__": 54
- },
{
"__id__": 55
},
{
- "__id__": 56
+ "__id__": 57
},
{
"__id__": 58
+ },
+ {
+ "__id__": 59
+ },
+ {
+ "__id__": 60
+ },
+ {
+ "__id__": 61
+ },
+ {
+ "__id__": 63
+ },
+ {
+ "__id__": 64
+ },
+ {
+ "__id__": 66
+ },
+ {
+ "__id__": 68
+ },
+ {
+ "__id__": 69
+ },
+ {
+ "__id__": 70
+ },
+ {
+ "__id__": 71
+ },
+ {
+ "__id__": 72
+ },
+ {
+ "__id__": 73
+ },
+ {
+ "__id__": 75
}
],
"removedComponents": [
{
- "__id__": 60
+ "__id__": 77
}
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 30
+ "__id__": 47
},
"propertyPath": [
"_name"
@@ -580,7 +878,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 30
+ "__id__": 47
},
"propertyPath": [
"_lpos"
@@ -595,7 +893,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 30
+ "__id__": 47
},
"propertyPath": [
"_lrot"
@@ -611,7 +909,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 30
+ "__id__": 47
},
"propertyPath": [
"_euler"
@@ -626,7 +924,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 35
+ "__id__": 52
},
"propertyPath": [
"_lpos"
@@ -647,7 +945,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 37
+ "__id__": 54
},
"propertyPath": [
"_fontSize"
@@ -663,7 +961,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 39
+ "__id__": 56
},
"propertyPath": [
"_contentSize"
@@ -683,7 +981,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 37
+ "__id__": 54
},
"propertyPath": [
"_actualFontSize"
@@ -693,7 +991,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 37
+ "__id__": 54
},
"propertyPath": [
"_horizontalAlign"
@@ -703,7 +1001,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 37
+ "__id__": 54
},
"propertyPath": [
"_verticalAlign"
@@ -713,7 +1011,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 37
+ "__id__": 54
},
"propertyPath": [
"_overflow"
@@ -723,7 +1021,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 45
+ "__id__": 62
},
"propertyPath": [
"_lpos"
@@ -744,7 +1042,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 45
+ "__id__": 62
},
"propertyPath": [
"_name"
@@ -754,7 +1052,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 48
+ "__id__": 65
},
"propertyPath": [
"_string"
@@ -770,7 +1068,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 50
+ "__id__": 67
},
"propertyPath": [
"_contentSize"
@@ -790,7 +1088,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 48
+ "__id__": 65
},
"propertyPath": [
"_horizontalAlign"
@@ -800,7 +1098,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 48
+ "__id__": 65
},
"propertyPath": [
"_verticalAlign"
@@ -810,7 +1108,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 48
+ "__id__": 65
},
"propertyPath": [
"_fontSize"
@@ -820,7 +1118,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 48
+ "__id__": 65
},
"propertyPath": [
"_actualFontSize"
@@ -830,7 +1128,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 37
+ "__id__": 54
},
"propertyPath": [
"_isBold"
@@ -840,7 +1138,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 57
+ "__id__": 74
},
"propertyPath": [
"_active"
@@ -856,7 +1154,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 59
+ "__id__": 76
},
"propertyPath": [
"_active"
@@ -881,29 +1179,29 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 1
+ "__id__": 8
},
"_children": [
{
- "__id__": 62
+ "__id__": 79
},
{
- "__id__": 68
+ "__id__": 85
}
],
"_active": true,
"_components": [
{
- "__id__": 74
+ "__id__": 91
}
],
"_prefab": {
- "__id__": 76
+ "__id__": 93
},
"_lpos": {
"__type__": "cc.Vec3",
- "x": 244.02,
- "y": 68.665,
+ "x": 244.01999999999998,
+ "y": 68.66499999999996,
"z": 0
},
"_lrot": {
@@ -935,20 +1233,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 61
+ "__id__": 78
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 63
+ "__id__": 80
},
{
- "__id__": 65
+ "__id__": 82
}
],
"_prefab": {
- "__id__": 67
+ "__id__": 84
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -985,11 +1283,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 62
+ "__id__": 79
},
"_enabled": true,
"__prefab": {
- "__id__": 64
+ "__id__": 81
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1013,11 +1311,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 62
+ "__id__": 79
},
"_enabled": true,
"__prefab": {
- "__id__": 66
+ "__id__": 83
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -1071,20 +1369,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 61
+ "__id__": 78
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 69
+ "__id__": 86
},
{
- "__id__": 71
+ "__id__": 88
}
],
"_prefab": {
- "__id__": 73
+ "__id__": 90
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1121,11 +1419,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 68
+ "__id__": 85
},
"_enabled": true,
"__prefab": {
- "__id__": 70
+ "__id__": 87
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1149,11 +1447,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 68
+ "__id__": 85
},
"_enabled": true,
"__prefab": {
- "__id__": 72
+ "__id__": 89
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -1230,11 +1528,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 61
+ "__id__": 78
},
"_enabled": true,
"__prefab": {
- "__id__": 75
+ "__id__": 92
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1271,29 +1569,29 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 1
+ "__id__": 8
},
"_children": [
{
- "__id__": 78
+ "__id__": 95
}
],
"_active": true,
"_components": [
{
- "__id__": 84
+ "__id__": 101
},
{
- "__id__": 86
+ "__id__": 103
}
],
"_prefab": {
- "__id__": 88
+ "__id__": 105
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
- "y": -70.324,
+ "y": -70.32399999999996,
"z": 0
},
"_lrot": {
@@ -1325,20 +1623,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 77
+ "__id__": 94
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 79
+ "__id__": 96
},
{
- "__id__": 81
+ "__id__": 98
}
],
"_prefab": {
- "__id__": 83
+ "__id__": 100
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1375,11 +1673,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 78
+ "__id__": 95
},
"_enabled": true,
"__prefab": {
- "__id__": 80
+ "__id__": 97
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1403,11 +1701,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 78
+ "__id__": 95
},
"_enabled": true,
"__prefab": {
- "__id__": 82
+ "__id__": 99
},
"_lineHeight": 21,
"_string": "RichText",
@@ -1454,15 +1752,15 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 77
+ "__id__": 94
},
"_enabled": true,
"__prefab": {
- "__id__": 85
+ "__id__": 102
},
"_contentSize": {
"__type__": "cc.Size",
- "width": 580,
+ "width": 40,
"height": 100
},
"_anchorPoint": {
@@ -1482,11 +1780,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 77
+ "__id__": 94
},
"_enabled": true,
"__prefab": {
- "__id__": 87
+ "__id__": 104
},
"_alignFlags": 40,
"_target": null,
@@ -1529,17 +1827,17 @@
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
- "__id__": 1
+ "__id__": 8
},
"_prefab": {
- "__id__": 90
+ "__id__": 107
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
- "__id__": 89
+ "__id__": 106
},
"asset": {
"__uuid__": "8c1e0e41-6db0-4b9e-a408-1b52707d2524",
@@ -1547,7 +1845,7 @@
},
"fileId": "d0zMpqFyRP1aafIzYmc9m1",
"instance": {
- "__id__": 91
+ "__id__": 108
},
"targetOverrides": null
},
@@ -1558,57 +1856,108 @@
"__id__": 1
},
"mountedChildren": [],
- "mountedComponents": [],
- "propertyOverrides": [
- {
- "__id__": 92
- },
- {
- "__id__": 94
- },
- {
- "__id__": 95
- },
- {
- "__id__": 96
- },
- {
- "__id__": 97
- },
- {
- "__id__": 99
- },
- {
- "__id__": 101
- },
- {
- "__id__": 103
- },
- {
- "__id__": 105
- },
- {
- "__id__": 107
- },
+ "mountedComponents": [
{
"__id__": 109
+ }
+ ],
+ "propertyOverrides": [
+ {
+ "__id__": 114
},
{
- "__id__": 110
+ "__id__": 116
},
{
- "__id__": 111
+ "__id__": 117
},
{
- "__id__": 113
+ "__id__": 118
+ },
+ {
+ "__id__": 119
+ },
+ {
+ "__id__": 121
+ },
+ {
+ "__id__": 123
+ },
+ {
+ "__id__": 125
+ },
+ {
+ "__id__": 127
+ },
+ {
+ "__id__": 129
+ },
+ {
+ "__id__": 131
+ },
+ {
+ "__id__": 132
+ },
+ {
+ "__id__": 133
+ },
+ {
+ "__id__": 135
+ },
+ {
+ "__id__": 136
}
],
"removedComponents": []
},
+ {
+ "__type__": "cc.MountedComponentsInfo",
+ "targetInfo": {
+ "__id__": 110
+ },
+ "components": [
+ {
+ "__id__": 111
+ }
+ ]
+ },
+ {
+ "__type__": "cc.TargetInfo",
+ "localID": [
+ "f06egrdO9DSpfJqj1k11KD",
+ "abejF2+VlFF4OElV/czJUn"
+ ]
+ },
+ {
+ "__type__": "cc.BlockInputEvents",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {
+ "mountedRoot": {
+ "__id__": 106
+ }
+ },
+ "node": {
+ "__id__": 112
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 113
+ },
+ "_id": ""
+ },
+ {
+ "__type__": "cc.Node",
+ "__editorExtras__": {}
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "e2dIlNrypDApLjAXIofNB6"
+ },
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 93
+ "__id__": 115
},
"propertyPath": [
"_name"
@@ -1624,7 +1973,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 93
+ "__id__": 115
},
"propertyPath": [
"_lpos"
@@ -1639,7 +1988,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 93
+ "__id__": 115
},
"propertyPath": [
"_lrot"
@@ -1655,7 +2004,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 93
+ "__id__": 115
},
"propertyPath": [
"_euler"
@@ -1670,7 +2019,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 98
+ "__id__": 120
},
"propertyPath": [
"_contentSize"
@@ -1691,7 +2040,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 100
+ "__id__": 122
},
"propertyPath": [
"_contentSize"
@@ -1712,7 +2061,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 102
+ "__id__": 124
},
"propertyPath": [
"_lpos"
@@ -1734,7 +2083,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 104
+ "__id__": 126
},
"propertyPath": [
"_contentSize"
@@ -1755,7 +2104,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 106
+ "__id__": 128
},
"propertyPath": [
"_contentSize"
@@ -1775,7 +2124,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 108
+ "__id__": 130
},
"propertyPath": [
"_fontSize"
@@ -1791,7 +2140,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 106
+ "__id__": 128
},
"propertyPath": [
"_anchorPoint"
@@ -1805,7 +2154,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 108
+ "__id__": 130
},
"propertyPath": [
"_maxWidth"
@@ -1815,7 +2164,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 112
+ "__id__": 134
},
"propertyPath": [
"_lpos"
@@ -1836,28 +2185,48 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 108
+ "__id__": 130
},
"propertyPath": [
"_lineHeight"
],
"value": 21
},
+ {
+ "__type__": "CCPropertyOverrideInfo",
+ "targetInfo": {
+ "__id__": 137
+ },
+ "propertyPath": [
+ "_contentSize"
+ ],
+ "value": {
+ "__type__": "cc.Size",
+ "width": 640,
+ "height": 120
+ }
+ },
+ {
+ "__type__": "cc.TargetInfo",
+ "localID": [
+ "18Kr0ZcNxKIJL9ZxPXlsdy"
+ ]
+ },
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
- "__id__": 1
+ "__id__": 8
},
"_prefab": {
- "__id__": 115
+ "__id__": 139
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
- "__id__": 114
+ "__id__": 138
},
"asset": {
"__uuid__": "8c1e0e41-6db0-4b9e-a408-1b52707d2524",
@@ -1865,7 +2234,7 @@
},
"fileId": "d0zMpqFyRP1aafIzYmc9m1",
"instance": {
- "__id__": 116
+ "__id__": 140
},
"targetOverrides": null
},
@@ -1876,48 +2245,96 @@
"__id__": 1
},
"mountedChildren": [],
- "mountedComponents": [],
+ "mountedComponents": [
+ {
+ "__id__": 141
+ }
+ ],
"propertyOverrides": [
{
- "__id__": 117
+ "__id__": 146
},
{
- "__id__": 119
+ "__id__": 148
},
{
- "__id__": 120
+ "__id__": 149
},
{
- "__id__": 121
+ "__id__": 150
},
{
- "__id__": 122
+ "__id__": 151
},
{
- "__id__": 124
+ "__id__": 153
},
{
- "__id__": 126
+ "__id__": 155
},
{
- "__id__": 128
+ "__id__": 157
},
{
- "__id__": 129
+ "__id__": 158
},
{
- "__id__": 130
+ "__id__": 159
},
{
- "__id__": 132
+ "__id__": 161
}
],
"removedComponents": []
},
+ {
+ "__type__": "cc.MountedComponentsInfo",
+ "targetInfo": {
+ "__id__": 142
+ },
+ "components": [
+ {
+ "__id__": 143
+ }
+ ]
+ },
+ {
+ "__type__": "cc.TargetInfo",
+ "localID": [
+ "f06egrdO9DSpfJqj1k11KD",
+ "abejF2+VlFF4OElV/czJUn"
+ ]
+ },
+ {
+ "__type__": "cc.BlockInputEvents",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {
+ "mountedRoot": {
+ "__id__": 138
+ }
+ },
+ "node": {
+ "__id__": 144
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 145
+ },
+ "_id": ""
+ },
+ {
+ "__type__": "cc.Node",
+ "__editorExtras__": {}
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "4dYrU+7iNKTayTBJ1sHeGZ"
+ },
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 118
+ "__id__": 147
},
"propertyPath": [
"_name"
@@ -1933,7 +2350,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 118
+ "__id__": 147
},
"propertyPath": [
"_lpos"
@@ -1948,7 +2365,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 118
+ "__id__": 147
},
"propertyPath": [
"_lrot"
@@ -1964,7 +2381,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 118
+ "__id__": 147
},
"propertyPath": [
"_euler"
@@ -1979,7 +2396,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 123
+ "__id__": 152
},
"propertyPath": [
"_string"
@@ -1995,7 +2412,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 125
+ "__id__": 154
},
"propertyPath": [
"_contentSize"
@@ -2015,7 +2432,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 127
+ "__id__": 156
},
"propertyPath": [
"_fontSize"
@@ -2031,7 +2448,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 125
+ "__id__": 154
},
"propertyPath": [
"_anchorPoint"
@@ -2045,7 +2462,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 127
+ "__id__": 156
},
"propertyPath": [
"_maxWidth"
@@ -2055,7 +2472,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 131
+ "__id__": 160
},
"propertyPath": [
"_lpos"
@@ -2076,7 +2493,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
- "__id__": 127
+ "__id__": 156
},
"propertyPath": [
"_lineHeight"
@@ -2089,25 +2506,25 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 1
+ "__id__": 8
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 134
+ "__id__": 163
},
{
- "__id__": 136
+ "__id__": 165
}
],
"_prefab": {
- "__id__": 138
+ "__id__": 167
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 252.822,
- "y": 138.181,
+ "y": 138.18100000000004,
"z": 0
},
"_lrot": {
@@ -2139,11 +2556,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 133
+ "__id__": 162
},
"_enabled": true,
"__prefab": {
- "__id__": 135
+ "__id__": 164
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2167,11 +2584,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 133
+ "__id__": 162
},
"_enabled": true,
"__prefab": {
- "__id__": 137
+ "__id__": 166
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2222,6 +2639,83 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
+ {
+ "__type__": "cc.UITransform",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "node": {
+ "__id__": 8
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 169
+ },
+ "_contentSize": {
+ "__type__": "cc.Size",
+ "width": 100,
+ "height": 100
+ },
+ "_anchorPoint": {
+ "__type__": "cc.Vec2",
+ "x": 0.5,
+ "y": 0.5
+ },
+ "_id": ""
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "86X15kZDVI1LKXCEP7xyTO"
+ },
+ {
+ "__type__": "cc.Widget",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "node": {
+ "__id__": 8
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 171
+ },
+ "_alignFlags": 1,
+ "_target": null,
+ "_left": 0,
+ "_right": 0,
+ "_top": 309.511,
+ "_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": "3ec4lWtX9MUJ6spKB/zG4k"
+ },
+ {
+ "__type__": "cc.PrefabInfo",
+ "root": {
+ "__id__": 1
+ },
+ "asset": {
+ "__id__": 0
+ },
+ "fileId": "68BnNyDR5F172EmZGNhAQU",
+ "instance": null,
+ "targetOverrides": null,
+ "nestedPrefabInstanceRoots": null
+ },
{
"__type__": "cc.UITransform",
"_name": "",
@@ -2232,12 +2726,12 @@
},
"_enabled": true,
"__prefab": {
- "__id__": 140
+ "__id__": 174
},
"_contentSize": {
"__type__": "cc.Size",
- "width": 640,
- "height": 399.9
+ "width": 720,
+ "height": 1280
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -2260,7 +2754,7 @@
},
"_enabled": true,
"__prefab": {
- "__id__": 142
+ "__id__": 176
},
"_id": ""
},
@@ -2278,12 +2772,12 @@
},
"_enabled": true,
"__prefab": {
- "__id__": 144
+ "__id__": 178
},
- "_alignFlags": 42,
+ "_alignFlags": 45,
"_target": null,
- "_left": 40,
- "_right": 40,
+ "_left": 0,
+ "_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
@@ -2295,7 +2789,7 @@
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 719.8,
- "_originalHeight": 0,
+ "_originalHeight": 399.9,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
@@ -2314,46 +2808,49 @@
},
"_enabled": true,
"__prefab": {
- "__id__": 146
+ "__id__": 180
},
"icon_node": {
- "__id__": 147
+ "__id__": 181
},
"name_label": {
- "__id__": 163
+ "__id__": 197
},
"lv_label": {
- "__id__": 169
+ "__id__": 203
},
"main_info": {
- "__id__": 81
+ "__id__": 98
},
"main_status": {
- "__id__": 71
+ "__id__": 88
},
"lv2_node": {
- "__id__": 89
+ "__id__": 106
},
"lv2_status": {
- "__id__": 179
+ "__id__": 213
},
"lv2_desc": {
- "__id__": 195
+ "__id__": 229
},
"lv3_node": {
- "__id__": 114
+ "__id__": 138
},
"lv3_status": {
- "__id__": 207
+ "__id__": 241
},
"lv3_desc": {
- "__id__": 223
+ "__id__": 257
},
"close_btn": {
- "__id__": 133
+ "__id__": 162
+ },
+ "mask_node": {
+ "__id__": 2
},
"inactive_bg": {
- "__id__": 235
+ "__id__": 269
},
"_id": ""
},
@@ -2367,20 +2864,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 148
+ "__id__": 182
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 158
+ "__id__": 192
},
{
- "__id__": 160
+ "__id__": 194
}
],
"_prefab": {
- "__id__": 162
+ "__id__": 196
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2417,30 +2914,30 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 26
+ "__id__": 43
},
"_children": [
{
- "__id__": 147
+ "__id__": 181
}
],
"_active": true,
"_components": [
{
- "__id__": 149
+ "__id__": 183
},
{
- "__id__": 151
+ "__id__": 185
},
{
- "__id__": 153
+ "__id__": 187
},
{
- "__id__": 155
+ "__id__": 189
}
],
"_prefab": {
- "__id__": 157
+ "__id__": 191
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2477,11 +2974,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 148
+ "__id__": 182
},
"_enabled": true,
"__prefab": {
- "__id__": 150
+ "__id__": 184
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2505,11 +3002,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 148
+ "__id__": 182
},
"_enabled": true,
"__prefab": {
- "__id__": 152
+ "__id__": 186
},
"_type": 3,
"_inverted": false,
@@ -2527,11 +3024,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 148
+ "__id__": 182
},
"_enabled": true,
"__prefab": {
- "__id__": 154
+ "__id__": 188
},
"_alignFlags": 45,
"_target": null,
@@ -2563,11 +3060,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 148
+ "__id__": 182
},
"_enabled": true,
"__prefab": {
- "__id__": 156
+ "__id__": 190
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2624,11 +3121,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 147
+ "__id__": 181
},
"_enabled": true,
"__prefab": {
- "__id__": 159
+ "__id__": 193
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2652,11 +3149,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 147
+ "__id__": 181
},
"_enabled": true,
"__prefab": {
- "__id__": 161
+ "__id__": 195
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2713,11 +3210,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 164
+ "__id__": 198
},
"_enabled": true,
"__prefab": {
- "__id__": 168
+ "__id__": 202
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2777,20 +3274,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 26
+ "__id__": 43
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 165
+ "__id__": 199
},
{
- "__id__": 163
+ "__id__": 197
}
],
"_prefab": {
- "__id__": 167
+ "__id__": 201
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2827,11 +3324,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 164
+ "__id__": 198
},
"_enabled": true,
"__prefab": {
- "__id__": 166
+ "__id__": 200
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2872,11 +3369,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 170
+ "__id__": 204
},
"_enabled": true,
"__prefab": {
- "__id__": 178
+ "__id__": 212
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2936,20 +3433,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 171
+ "__id__": 205
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 175
+ "__id__": 209
},
{
- "__id__": 169
+ "__id__": 203
}
],
"_prefab": {
- "__id__": 177
+ "__id__": 211
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2986,21 +3483,21 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 26
+ "__id__": 43
},
"_children": [
{
- "__id__": 170
+ "__id__": 204
}
],
"_active": true,
"_components": [
{
- "__id__": 172
+ "__id__": 206
}
],
"_prefab": {
- "__id__": 174
+ "__id__": 208
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3037,11 +3534,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 171
+ "__id__": 205
},
"_enabled": true,
"__prefab": {
- "__id__": 173
+ "__id__": 207
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3078,11 +3575,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 170
+ "__id__": 204
},
"_enabled": true,
"__prefab": {
- "__id__": 176
+ "__id__": 210
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3123,11 +3620,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 180
+ "__id__": 214
},
"_enabled": true,
"__prefab": {
- "__id__": 194
+ "__id__": 228
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -3187,20 +3684,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 181
+ "__id__": 215
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 191
+ "__id__": 225
},
{
- "__id__": 179
+ "__id__": 213
}
],
"_prefab": {
- "__id__": 193
+ "__id__": 227
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3237,24 +3734,24 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 89
+ "__id__": 106
},
"_children": [
{
- "__id__": 182
+ "__id__": 216
},
{
- "__id__": 180
+ "__id__": 214
}
],
"_active": true,
"_components": [
{
- "__id__": 188
+ "__id__": 222
}
],
"_prefab": {
- "__id__": 190
+ "__id__": 224
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3291,20 +3788,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 181
+ "__id__": 215
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 183
+ "__id__": 217
},
{
- "__id__": 185
+ "__id__": 219
}
],
"_prefab": {
- "__id__": 187
+ "__id__": 221
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3341,11 +3838,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 182
+ "__id__": 216
},
"_enabled": true,
"__prefab": {
- "__id__": 184
+ "__id__": 218
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3369,11 +3866,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 182
+ "__id__": 216
},
"_enabled": true,
"__prefab": {
- "__id__": 186
+ "__id__": 220
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -3427,11 +3924,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 181
+ "__id__": 215
},
"_enabled": true,
"__prefab": {
- "__id__": 189
+ "__id__": 223
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3468,11 +3965,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 180
+ "__id__": 214
},
"_enabled": true,
"__prefab": {
- "__id__": 192
+ "__id__": 226
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3513,11 +4010,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 196
+ "__id__": 230
},
"_enabled": true,
"__prefab": {
- "__id__": 206
+ "__id__": 240
},
"_lineHeight": 21,
"_string": "RichText",
@@ -3547,20 +4044,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 197
+ "__id__": 231
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 203
+ "__id__": 237
},
{
- "__id__": 195
+ "__id__": 229
}
],
"_prefab": {
- "__id__": 205
+ "__id__": 239
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3597,24 +4094,24 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 89
+ "__id__": 106
},
"_children": [
{
- "__id__": 196
+ "__id__": 230
}
],
"_active": true,
"_components": [
{
- "__id__": 198
+ "__id__": 232
},
{
- "__id__": 200
+ "__id__": 234
}
],
"_prefab": {
- "__id__": 202
+ "__id__": 236
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3651,11 +4148,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 197
+ "__id__": 231
},
"_enabled": true,
"__prefab": {
- "__id__": 199
+ "__id__": 233
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3679,11 +4176,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 197
+ "__id__": 231
},
"_enabled": true,
"__prefab": {
- "__id__": 201
+ "__id__": 235
},
"_alignFlags": 40,
"_target": null,
@@ -3728,11 +4225,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 196
+ "__id__": 230
},
"_enabled": true,
"__prefab": {
- "__id__": 204
+ "__id__": 238
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3773,11 +4270,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 208
+ "__id__": 242
},
"_enabled": true,
"__prefab": {
- "__id__": 222
+ "__id__": 256
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -3837,20 +4334,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 209
+ "__id__": 243
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 219
+ "__id__": 253
},
{
- "__id__": 207
+ "__id__": 241
}
],
"_prefab": {
- "__id__": 221
+ "__id__": 255
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3887,24 +4384,24 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 114
+ "__id__": 138
},
"_children": [
{
- "__id__": 210
+ "__id__": 244
},
{
- "__id__": 208
+ "__id__": 242
}
],
"_active": true,
"_components": [
{
- "__id__": 216
+ "__id__": 250
}
],
"_prefab": {
- "__id__": 218
+ "__id__": 252
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3941,20 +4438,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 209
+ "__id__": 243
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 211
+ "__id__": 245
},
{
- "__id__": 213
+ "__id__": 247
}
],
"_prefab": {
- "__id__": 215
+ "__id__": 249
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3991,11 +4488,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 210
+ "__id__": 244
},
"_enabled": true,
"__prefab": {
- "__id__": 212
+ "__id__": 246
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4019,11 +4516,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 210
+ "__id__": 244
},
"_enabled": true,
"__prefab": {
- "__id__": 214
+ "__id__": 248
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -4077,11 +4574,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 209
+ "__id__": 243
},
"_enabled": true,
"__prefab": {
- "__id__": 217
+ "__id__": 251
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4118,11 +4615,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 208
+ "__id__": 242
},
"_enabled": true,
"__prefab": {
- "__id__": 220
+ "__id__": 254
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4163,11 +4660,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 224
+ "__id__": 258
},
"_enabled": true,
"__prefab": {
- "__id__": 234
+ "__id__": 268
},
"_lineHeight": 21,
"_string": "RichText",
@@ -4197,20 +4694,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 225
+ "__id__": 259
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 231
+ "__id__": 265
},
{
- "__id__": 223
+ "__id__": 257
}
],
"_prefab": {
- "__id__": 233
+ "__id__": 267
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4247,24 +4744,24 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 114
+ "__id__": 138
},
"_children": [
{
- "__id__": 224
+ "__id__": 258
}
],
"_active": true,
"_components": [
{
- "__id__": 226
+ "__id__": 260
},
{
- "__id__": 228
+ "__id__": 262
}
],
"_prefab": {
- "__id__": 230
+ "__id__": 264
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4301,11 +4798,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 225
+ "__id__": 259
},
"_enabled": true,
"__prefab": {
- "__id__": 227
+ "__id__": 261
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4329,11 +4826,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 225
+ "__id__": 259
},
"_enabled": true,
"__prefab": {
- "__id__": 229
+ "__id__": 263
},
"_alignFlags": 40,
"_target": null,
@@ -4378,11 +4875,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 224
+ "__id__": 258
},
"_enabled": true,
"__prefab": {
- "__id__": 232
+ "__id__": 266
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4423,36 +4920,36 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 26
+ "__id__": 43
},
"_children": [
{
- "__id__": 236
+ "__id__": 270
},
{
- "__id__": 254
+ "__id__": 288
},
{
- "__id__": 260
+ "__id__": 294
},
{
- "__id__": 266
+ "__id__": 300
},
{
- "__id__": 272
+ "__id__": 306
}
],
"_active": false,
"_components": [
{
- "__id__": 278
+ "__id__": 312
},
{
- "__id__": 280
+ "__id__": 314
}
],
"_prefab": {
- "__id__": 282
+ "__id__": 316
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4489,27 +4986,27 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 235
+ "__id__": 269
},
"_children": [
{
- "__id__": 237
+ "__id__": 271
},
{
- "__id__": 243
+ "__id__": 277
}
],
"_active": true,
"_components": [
{
- "__id__": 249
+ "__id__": 283
},
{
- "__id__": 251
+ "__id__": 285
}
],
"_prefab": {
- "__id__": 253
+ "__id__": 287
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4546,20 +5043,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 236
+ "__id__": 270
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 238
+ "__id__": 272
},
{
- "__id__": 240
+ "__id__": 274
}
],
"_prefab": {
- "__id__": 242
+ "__id__": 276
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4596,11 +5093,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 237
+ "__id__": 271
},
"_enabled": true,
"__prefab": {
- "__id__": 239
+ "__id__": 273
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4624,11 +5121,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 237
+ "__id__": 271
},
"_enabled": true,
"__prefab": {
- "__id__": 241
+ "__id__": 275
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -4682,20 +5179,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 236
+ "__id__": 270
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 244
+ "__id__": 278
},
{
- "__id__": 246
+ "__id__": 280
}
],
"_prefab": {
- "__id__": 248
+ "__id__": 282
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4732,11 +5229,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 243
+ "__id__": 277
},
"_enabled": true,
"__prefab": {
- "__id__": 245
+ "__id__": 279
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4760,11 +5257,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 243
+ "__id__": 277
},
"_enabled": true,
"__prefab": {
- "__id__": 247
+ "__id__": 281
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -4818,11 +5315,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 236
+ "__id__": 270
},
"_enabled": true,
"__prefab": {
- "__id__": 250
+ "__id__": 284
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4846,11 +5343,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 236
+ "__id__": 270
},
"_enabled": false,
"__prefab": {
- "__id__": 252
+ "__id__": 286
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -4904,20 +5401,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 235
+ "__id__": 269
},
"_children": [],
"_active": false,
"_components": [
{
- "__id__": 255
+ "__id__": 289
},
{
- "__id__": 257
+ "__id__": 291
}
],
"_prefab": {
- "__id__": 259
+ "__id__": 293
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4954,11 +5451,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 254
+ "__id__": 288
},
"_enabled": true,
"__prefab": {
- "__id__": 256
+ "__id__": 290
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4982,11 +5479,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 254
+ "__id__": 288
},
"_enabled": true,
"__prefab": {
- "__id__": 258
+ "__id__": 292
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -5043,20 +5540,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 235
+ "__id__": 269
},
"_children": [],
"_active": false,
"_components": [
{
- "__id__": 261
+ "__id__": 295
},
{
- "__id__": 263
+ "__id__": 297
}
],
"_prefab": {
- "__id__": 265
+ "__id__": 299
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -5093,11 +5590,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 260
+ "__id__": 294
},
"_enabled": true,
"__prefab": {
- "__id__": 262
+ "__id__": 296
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5121,11 +5618,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 260
+ "__id__": 294
},
"_enabled": true,
"__prefab": {
- "__id__": 264
+ "__id__": 298
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -5182,20 +5679,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 235
+ "__id__": 269
},
"_children": [],
"_active": false,
"_components": [
{
- "__id__": 267
+ "__id__": 301
},
{
- "__id__": 269
+ "__id__": 303
}
],
"_prefab": {
- "__id__": 271
+ "__id__": 305
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -5232,11 +5729,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 266
+ "__id__": 300
},
"_enabled": true,
"__prefab": {
- "__id__": 268
+ "__id__": 302
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5260,11 +5757,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 266
+ "__id__": 300
},
"_enabled": true,
"__prefab": {
- "__id__": 270
+ "__id__": 304
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -5321,20 +5818,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 235
+ "__id__": 269
},
"_children": [],
"_active": false,
"_components": [
{
- "__id__": 273
+ "__id__": 307
},
{
- "__id__": 275
+ "__id__": 309
}
],
"_prefab": {
- "__id__": 277
+ "__id__": 311
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -5371,11 +5868,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 272
+ "__id__": 306
},
"_enabled": true,
"__prefab": {
- "__id__": 274
+ "__id__": 308
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5399,11 +5896,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 272
+ "__id__": 306
},
"_enabled": true,
"__prefab": {
- "__id__": 276
+ "__id__": 310
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -5460,11 +5957,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 235
+ "__id__": 269
},
"_enabled": true,
"__prefab": {
- "__id__": 279
+ "__id__": 313
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5488,11 +5985,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 235
+ "__id__": 269
},
"_enabled": true,
"__prefab": {
- "__id__": 281
+ "__id__": 315
},
"_alignFlags": 45,
"_target": null,
@@ -5543,59 +6040,59 @@
"instance": null,
"targetOverrides": [
{
- "__id__": 284
+ "__id__": 318
},
{
- "__id__": 286
+ "__id__": 320
},
{
- "__id__": 288
+ "__id__": 322
},
{
- "__id__": 290
+ "__id__": 324
},
{
- "__id__": 292
+ "__id__": 326
},
{
- "__id__": 294
+ "__id__": 328
},
{
- "__id__": 296
+ "__id__": 330
},
{
- "__id__": 298
+ "__id__": 332
}
],
"nestedPrefabInstanceRoots": [
{
- "__id__": 114
+ "__id__": 138
},
{
- "__id__": 89
+ "__id__": 106
},
{
- "__id__": 26
+ "__id__": 43
},
{
- "__id__": 2
+ "__id__": 9
}
]
},
{
"__type__": "cc.TargetOverrideInfo",
"source": {
- "__id__": 145
+ "__id__": 179
},
"sourceInfo": null,
"propertyPath": [
"icon_node"
],
"target": {
- "__id__": 26
+ "__id__": 43
},
"targetInfo": {
- "__id__": 285
+ "__id__": 319
}
},
{
@@ -5607,17 +6104,17 @@
{
"__type__": "cc.TargetOverrideInfo",
"source": {
- "__id__": 145
+ "__id__": 179
},
"sourceInfo": null,
"propertyPath": [
"name_label"
],
"target": {
- "__id__": 26
+ "__id__": 43
},
"targetInfo": {
- "__id__": 287
+ "__id__": 321
}
},
{
@@ -5629,17 +6126,17 @@
{
"__type__": "cc.TargetOverrideInfo",
"source": {
- "__id__": 145
+ "__id__": 179
},
"sourceInfo": null,
"propertyPath": [
"lv_label"
],
"target": {
- "__id__": 26
+ "__id__": 43
},
"targetInfo": {
- "__id__": 289
+ "__id__": 323
}
},
{
@@ -5651,17 +6148,17 @@
{
"__type__": "cc.TargetOverrideInfo",
"source": {
- "__id__": 145
+ "__id__": 179
},
"sourceInfo": null,
"propertyPath": [
"lv2_status"
],
"target": {
- "__id__": 89
+ "__id__": 106
},
"targetInfo": {
- "__id__": 291
+ "__id__": 325
}
},
{
@@ -5673,17 +6170,17 @@
{
"__type__": "cc.TargetOverrideInfo",
"source": {
- "__id__": 145
+ "__id__": 179
},
"sourceInfo": null,
"propertyPath": [
"lv2_desc"
],
"target": {
- "__id__": 89
+ "__id__": 106
},
"targetInfo": {
- "__id__": 293
+ "__id__": 327
}
},
{
@@ -5695,17 +6192,17 @@
{
"__type__": "cc.TargetOverrideInfo",
"source": {
- "__id__": 145
+ "__id__": 179
},
"sourceInfo": null,
"propertyPath": [
"lv3_status"
],
"target": {
- "__id__": 114
+ "__id__": 138
},
"targetInfo": {
- "__id__": 295
+ "__id__": 329
}
},
{
@@ -5717,17 +6214,17 @@
{
"__type__": "cc.TargetOverrideInfo",
"source": {
- "__id__": 145
+ "__id__": 179
},
"sourceInfo": null,
"propertyPath": [
"lv3_desc"
],
"target": {
- "__id__": 114
+ "__id__": 138
},
"targetInfo": {
- "__id__": 297
+ "__id__": 331
}
},
{
@@ -5739,17 +6236,17 @@
{
"__type__": "cc.TargetOverrideInfo",
"source": {
- "__id__": 145
+ "__id__": 179
},
"sourceInfo": null,
"propertyPath": [
"inactive_bg"
],
"target": {
- "__id__": 26
+ "__id__": 43
},
"targetInfo": {
- "__id__": 299
+ "__id__": 333
}
},
{
diff --git a/assets/script/game/map/SinfoComp.ts b/assets/script/game/map/SinfoComp.ts
index 1a833f45..3b048d68 100644
--- a/assets/script/game/map/SinfoComp.ts
+++ b/assets/script/game/map/SinfoComp.ts
@@ -125,6 +125,10 @@ export class SinfoComp extends CCComp {
@property({ type: Node, displayName: "关闭按钮" })
private close_btn: Node = null;
+ /** 全屏遮罩节点(铺满屏幕,点击弹窗主体以外区域关闭) */
+ @property({ type: Node, displayName: "遮罩节点" })
+ private mask_node: Node = null;
+
/** 技能未激活图标背景(技能未激活时显示,已激活隐藏) */
@property({ type: Node, displayName: "未激活图标背景" })
private inactive_bg: Node = null;
@@ -144,6 +148,11 @@ export class SinfoComp extends CCComp {
this.close_btn = this.node.getChildByName("close");
}
this.close_btn?.on(NodeEventType.TOUCH_END, this.onCloseClick, this);
+ // 遮罩点击关闭:编辑器未绑定时按节点名 "mask" 兜底查找
+ if (!this.mask_node) {
+ this.mask_node = this.node.getChildByName("mask");
+ }
+ this.mask_node?.on(NodeEventType.TOUCH_END, this.onMaskClick, this);
}
onDisable() {
@@ -161,6 +170,9 @@ export class SinfoComp extends CCComp {
if (this.close_btn && this.close_btn.isValid) {
this.close_btn.off(NodeEventType.TOUCH_END, this.onCloseClick, this);
}
+ if (this.mask_node && this.mask_node.isValid) {
+ this.mask_node.off(NodeEventType.TOUCH_END, this.onMaskClick, this);
+ }
// 注销全局触摸监听
input.off(Input.EventType.TOUCH_END, this.onGlobalTouch, this);
}
@@ -194,6 +206,13 @@ export class SinfoComp extends CCComp {
this.close();
}
+ /** 遮罩点击:触点位于弹窗主体之外,直接关闭 */
+ private onMaskClick(event: EventTouch) {
+ event.propagationStopped = true;
+ oops.audio.playEffect("music/button");
+ this.close();
+ }
+
/** 全局触摸结束:触点落在弹窗包围盒外才关闭 */
private onGlobalTouch(event: EventTouch) {
if (!this.node || !this.node.isValid) return;