computeWidgetAlignment(spirit) 简化版 (水平+垂直居中): _alignFlags = 16 | 8 _horizontalCenter = x + w/2 - 640 _verticalCenter = 360 - (y + h/2) emitPrefabJson 仅在 Spirit 父节点是 group (非 Layer 根) 时调用; root / group-X envelope 沿用默认 _alignFlags=45 全屏铺满. PoC 验证: Layer00010.xml Protol_Layer (group 37, 4 spirits) 生成 Protol_Layer.prefab — 6 Widget 节点 (1 root + 1 group-37 + 4 spirit), 4 spirit widget 全部 _alignFlags=24.
1209 lines
24 KiB
Diff
1209 lines
24 KiB
Diff
--- YouleNexus/assets/framework/ui/prefabs/widgets/Layer10_Protocol.prefab 2026-09-01 01:11:57.893374800 +0800
|
|
+++ YouleNexus\out\legacy-migration\Protol_Layer.prefab 2026-09-02 08:34:28.171418700 +0800
|
|
@@ -1,7 +1,7 @@
|
|
[
|
|
{
|
|
"__type__": "cc.Prefab",
|
|
- "_name": "Layer10_Protocol",
|
|
+ "_name": "Protol_Layer",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_native": "",
|
|
@@ -13,32 +13,22 @@
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
- "_name": "Layer10_Protocol",
|
|
+ "_name": "Protol_Layer",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": null,
|
|
- "_children": [
|
|
- {
|
|
- "__id__": 2
|
|
- },
|
|
- {
|
|
- "__id__": 3
|
|
- },
|
|
- {
|
|
- "__id__": 4
|
|
- },
|
|
- {
|
|
- "__id__": 5
|
|
- }
|
|
- ],
|
|
+ "_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
- "__id__": 36
|
|
+ "__id__": 41
|
|
+ },
|
|
+ {
|
|
+ "__id__": 43
|
|
}
|
|
],
|
|
"_prefab": {
|
|
- "__id__": 38
|
|
+ "__id__": 44
|
|
},
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
@@ -50,7 +40,8 @@
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
- "z": 0
|
|
+ "z": 0,
|
|
+ "w": 1
|
|
},
|
|
"_lscale": {
|
|
"__type__": "cc.Vec3",
|
|
@@ -70,125 +61,37 @@
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
- "_name": "Box",
|
|
+ "_name": "group-37",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
- "_children": [],
|
|
- "_active": true,
|
|
- "_components": [
|
|
+ "_children": [
|
|
{
|
|
- "__id__": 6
|
|
+ "__id__": 3
|
|
},
|
|
{
|
|
- "__id__": 8
|
|
+ "__id__": 11
|
|
},
|
|
{
|
|
- "__id__": 10
|
|
- }
|
|
- ],
|
|
- "_prefab": {
|
|
- "__id__": 12
|
|
- },
|
|
- "_lpos": {
|
|
- "__type__": "cc.Vec3",
|
|
- "x": 0,
|
|
- "y": 0,
|
|
- "z": 0
|
|
- },
|
|
- "_lrot": {
|
|
- "__type__": "cc.Quat",
|
|
- "x": 0,
|
|
- "y": 0,
|
|
- "z": 0
|
|
- },
|
|
- "_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",
|
|
- "_name": "Title",
|
|
- "_objFlags": 0,
|
|
- "__editorExtras__": {},
|
|
- "_parent": {
|
|
- "__id__": 1
|
|
- },
|
|
- "_children": [],
|
|
- "_active": true,
|
|
- "_components": [
|
|
- {
|
|
- "__id__": 13
|
|
+ "__id__": 19
|
|
},
|
|
{
|
|
- "__id__": 15
|
|
+ "__id__": 27
|
|
}
|
|
],
|
|
- "_prefab": {
|
|
- "__id__": 17
|
|
- },
|
|
- "_lpos": {
|
|
- "__type__": "cc.Vec3",
|
|
- "x": 0,
|
|
- "y": 200,
|
|
- "z": 0
|
|
- },
|
|
- "_lrot": {
|
|
- "__type__": "cc.Quat",
|
|
- "x": 0,
|
|
- "y": 0,
|
|
- "z": 0
|
|
- },
|
|
- "_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",
|
|
- "_name": "Content",
|
|
- "_objFlags": 0,
|
|
- "__editorExtras__": {},
|
|
- "_parent": {
|
|
- "__id__": 1
|
|
- },
|
|
- "_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
- "__id__": 18
|
|
+ "__id__": 36
|
|
},
|
|
{
|
|
- "__id__": 20
|
|
+ "__id__": 38
|
|
}
|
|
],
|
|
"_prefab": {
|
|
- "__id__": 22
|
|
+ "__id__": 39
|
|
},
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
@@ -200,7 +103,8 @@
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
- "z": 0
|
|
+ "z": 0,
|
|
+ "w": 1
|
|
},
|
|
"_lscale": {
|
|
"__type__": "cc.Vec3",
|
|
@@ -220,43 +124,40 @@
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
- "_name": "AgreeBtn",
|
|
+ "_name": "协议遮罩",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
- "__id__": 1
|
|
+ "__id__": 2
|
|
},
|
|
- "_children": [
|
|
- {
|
|
- "__id__": 23
|
|
- }
|
|
- ],
|
|
+ "_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
- "__id__": 29
|
|
+ "__id__": 5
|
|
},
|
|
{
|
|
- "__id__": 31
|
|
+ "__id__": 7
|
|
},
|
|
{
|
|
- "__id__": 33
|
|
+ "__id__": 9
|
|
}
|
|
],
|
|
"_prefab": {
|
|
- "__id__": 35
|
|
+ "__id__": 10
|
|
},
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
- "y": -180,
|
|
+ "y": 0,
|
|
"z": 0
|
|
},
|
|
"_lrot": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
- "z": 0
|
|
+ "z": 0,
|
|
+ "w": 1
|
|
},
|
|
"_lscale": {
|
|
"__type__": "cc.Vec3",
|
|
@@ -275,21 +176,25 @@
|
|
"_id": ""
|
|
},
|
|
{
|
|
+ "__type__": "cc.CompPrefabInfo",
|
|
+ "fileId": "x0IvAcFprR09jBj3F9ZqfM"
|
|
+ },
|
|
+ {
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
- "__id__": 2
|
|
+ "__id__": 3
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
- "__id__": 7
|
|
+ "__id__": 4
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
- "width": 1000,
|
|
- "height": 500
|
|
+ "width": 1280,
|
|
+ "height": 720
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
@@ -300,7 +205,7 @@
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
- "fileId": "oXaUBE5FadJPKPV1kNBwB2"
|
|
+ "fileId": "k27YpdDROJN3PwtpFBqu2X"
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
@@ -308,15 +213,11 @@
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
- "__id__": 2
|
|
+ "__id__": 3
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
- "__id__": 9
|
|
- },
|
|
- "_spriteFrame": {
|
|
- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941",
|
|
- "__expectedType__": "cc.SpriteFrame"
|
|
+ "__id__": 6
|
|
},
|
|
"_customMaterial": null,
|
|
"_srcBlendFactor": 2,
|
|
@@ -328,7 +229,11 @@
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
- "_type": 1,
|
|
+ "_spriteFrame": {
|
|
+ "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941",
|
|
+ "__expectedType__": "cc.SpriteFrame"
|
|
+ },
|
|
+ "_type": 0,
|
|
"_fillType": 0,
|
|
"_sizeMode": 0,
|
|
"_fillCenter": {
|
|
@@ -345,29 +250,41 @@
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
- "fileId": "6Kb2nGRMAooTyFfd3Lyehj"
|
|
+ "fileId": "4kra9jO2Upq0a8CDkFGk6y"
|
|
},
|
|
{
|
|
- "__type__": "cc.UIOpacity",
|
|
+ "__type__": "cc.Widget",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
- "__id__": 2
|
|
+ "__id__": 3
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
- "__id__": 11
|
|
+ "__id__": 8
|
|
},
|
|
- "opacity": 240,
|
|
- "_opacity": 240,
|
|
+ "_alignFlags": 24,
|
|
+ "_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": "4/ZvQyMMnHy/MP8e62EaCC"
|
|
- },
|
|
- {
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
@@ -375,151 +292,174 @@
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
- "fileId": "12kemrqntATYjK8nnBs4cG",
|
|
+ "fileId": "A2rJprBVu5rQ1lfyfhnoE1",
|
|
"instance": null,
|
|
"targetOverrides": null,
|
|
"nestedPrefabInstanceRoots": null
|
|
},
|
|
{
|
|
- "__type__": "cc.UITransform",
|
|
- "_name": "",
|
|
+ "__type__": "cc.Node",
|
|
+ "_name": "协议背景",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
- "node": {
|
|
- "__id__": 3
|
|
+ "_parent": {
|
|
+ "__id__": 2
|
|
},
|
|
- "_enabled": true,
|
|
- "__prefab": {
|
|
- "__id__": 14
|
|
+ "_children": [],
|
|
+ "_active": true,
|
|
+ "_components": [
|
|
+ {
|
|
+ "__id__": 13
|
|
+ },
|
|
+ {
|
|
+ "__id__": 15
|
|
+ },
|
|
+ {
|
|
+ "__id__": 17
|
|
+ }
|
|
+ ],
|
|
+ "_prefab": {
|
|
+ "__id__": 18
|
|
},
|
|
- "_contentSize": {
|
|
- "__type__": "cc.Size",
|
|
- "width": 160,
|
|
- "height": 50.4
|
|
+ "_lpos": {
|
|
+ "__type__": "cc.Vec3",
|
|
+ "x": -7,
|
|
+ "y": 5,
|
|
+ "z": 0
|
|
},
|
|
- "_anchorPoint": {
|
|
- "__type__": "cc.Vec2",
|
|
- "x": 0.5,
|
|
- "y": 0.5
|
|
+ "_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.CompPrefabInfo",
|
|
- "fileId": "6fuT3QWjUGU74W2qJnikSF"
|
|
+ "fileId": "1tAFH2qR4PNs5TcEj9WbBN"
|
|
},
|
|
{
|
|
- "__type__": "cc.Label",
|
|
+ "__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
- "__id__": 3
|
|
+ "__id__": 11
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
- "__id__": 16
|
|
+ "__id__": 12
|
|
+ },
|
|
+ "_contentSize": {
|
|
+ "__type__": "cc.Size",
|
|
+ "width": 820,
|
|
+ "height": 650
|
|
+ },
|
|
+ "_anchorPoint": {
|
|
+ "__type__": "cc.Vec2",
|
|
+ "x": 0.5,
|
|
+ "y": 0.5
|
|
},
|
|
- "_string": "用户协议",
|
|
- "_horizontalAlign": 1,
|
|
- "_verticalAlign": 1,
|
|
- "_actualFontSize": 40,
|
|
- "_fontSize": 40,
|
|
- "_fontFamily": "Arial",
|
|
- "_lineHeight": 40,
|
|
- "_overflow": 0,
|
|
- "_enableWrapText": true,
|
|
- "_font": null,
|
|
- "_isSystemFontUsed": true,
|
|
- "_spacingX": 0,
|
|
- "_isItalic": false,
|
|
- "_isBold": false,
|
|
- "_isUnderline": false,
|
|
- "_underlineHeight": 2,
|
|
- "_cacheMode": 0,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
- "fileId": "MqdIJNnB7oR9OK2odjpEu1"
|
|
- },
|
|
- {
|
|
- "__type__": "cc.PrefabInfo",
|
|
- "root": {
|
|
- "__id__": 1
|
|
- },
|
|
- "asset": {
|
|
- "__id__": 0
|
|
- },
|
|
- "fileId": "d1mqm6hC9Km47bc4Q4RIHK",
|
|
- "instance": null,
|
|
- "targetOverrides": null,
|
|
- "nestedPrefabInstanceRoots": null
|
|
+ "fileId": "H0F6KOqTnrFHqBlxYya7nW"
|
|
},
|
|
{
|
|
- "__type__": "cc.UITransform",
|
|
+ "__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
- "__id__": 4
|
|
+ "__id__": 11
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
- "__id__": 19
|
|
+ "__id__": 14
|
|
},
|
|
- "_contentSize": {
|
|
- "__type__": "cc.Size",
|
|
- "width": 433.33984375,
|
|
- "height": 50.4
|
|
+ "_customMaterial": null,
|
|
+ "_srcBlendFactor": 2,
|
|
+ "_dstBlendFactor": 4,
|
|
+ "_color": {
|
|
+ "__type__": "cc.Color",
|
|
+ "r": 255,
|
|
+ "g": 255,
|
|
+ "b": 255,
|
|
+ "a": 255
|
|
},
|
|
- "_anchorPoint": {
|
|
+ "_spriteFrame": {
|
|
+ "__uuid__": "3e7492cb-7ae1-4f56-806d-07096662d8fb@f9941",
|
|
+ "__expectedType__": "cc.SpriteFrame"
|
|
+ },
|
|
+ "_type": 1,
|
|
+ "_fillType": 0,
|
|
+ "_sizeMode": 0,
|
|
+ "_fillCenter": {
|
|
"__type__": "cc.Vec2",
|
|
- "x": 0.5,
|
|
- "y": 0.5
|
|
+ "x": 0,
|
|
+ "y": 0
|
|
},
|
|
+ "_fillStart": 0,
|
|
+ "_fillRange": 0,
|
|
+ "_isTrimmedMode": true,
|
|
+ "_useGrayscale": false,
|
|
+ "_atlas": null,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
- "fileId": "dPEVXxMhCo5XiYvPRL9RMs"
|
|
+ "fileId": "8BOyuPKPZHetZAnf80c7wu"
|
|
},
|
|
{
|
|
- "__type__": "cc.Label",
|
|
+ "__type__": "cc.Widget",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
- "__id__": 4
|
|
+ "__id__": 11
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
- "__id__": 21
|
|
+ "__id__": 16
|
|
},
|
|
- "_string": "请阅读并同意用户协议...",
|
|
- "_horizontalAlign": 1,
|
|
- "_verticalAlign": 1,
|
|
- "_actualFontSize": 40,
|
|
- "_fontSize": 40,
|
|
- "_fontFamily": "Arial",
|
|
- "_lineHeight": 40,
|
|
- "_overflow": 0,
|
|
- "_enableWrapText": true,
|
|
- "_font": null,
|
|
- "_isSystemFontUsed": true,
|
|
- "_spacingX": 0,
|
|
- "_isItalic": false,
|
|
- "_isBold": false,
|
|
- "_isUnderline": false,
|
|
- "_underlineHeight": 2,
|
|
- "_cacheMode": 0,
|
|
+ "_alignFlags": 24,
|
|
+ "_target": null,
|
|
+ "_left": 0,
|
|
+ "_right": 0,
|
|
+ "_top": 0,
|
|
+ "_bottom": 0,
|
|
+ "_horizontalCenter": -7,
|
|
+ "_verticalCenter": 5,
|
|
+ "_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": "Gh3LCG2aZmYi/Y021RISB4"
|
|
- },
|
|
- {
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
@@ -527,43 +467,47 @@
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
- "fileId": "91FXgVD3NDxoCyE64MzU0Q",
|
|
+ "fileId": "zMXkBOeB9BIiYszl2FyzWz",
|
|
"instance": null,
|
|
"targetOverrides": null,
|
|
"nestedPrefabInstanceRoots": null
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
- "_name": "Label",
|
|
+ "_name": "协议内容",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
- "__id__": 5
|
|
+ "__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
- "__id__": 24
|
|
+ "__id__": 21
|
|
+ },
|
|
+ {
|
|
+ "__id__": 23
|
|
},
|
|
{
|
|
- "__id__": 26
|
|
+ "__id__": 25
|
|
}
|
|
],
|
|
"_prefab": {
|
|
- "__id__": 28
|
|
+ "__id__": 26
|
|
},
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
- "x": 0,
|
|
- "y": 0,
|
|
+ "x": -5.5,
|
|
+ "y": -208.5,
|
|
"z": 0
|
|
},
|
|
"_lrot": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
- "z": 0
|
|
+ "z": 0,
|
|
+ "w": 1
|
|
},
|
|
"_lscale": {
|
|
"__type__": "cc.Vec3",
|
|
@@ -582,21 +526,25 @@
|
|
"_id": ""
|
|
},
|
|
{
|
|
+ "__type__": "cc.CompPrefabInfo",
|
|
+ "fileId": "R4LbfxF9leygoYiRZDazU1"
|
|
+ },
|
|
+ {
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
- "__id__": 23
|
|
+ "__id__": 19
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
- "__id__": 25
|
|
+ "__id__": 20
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
- "width": 80,
|
|
- "height": 50.4
|
|
+ "width": 729,
|
|
+ "height": 997
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
@@ -607,42 +555,84 @@
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
- "fileId": "2lh0VzkfUMMVkQWokCZzYz"
|
|
+ "fileId": "uzrkcGNHVyWfKzKkcHwPMk"
|
|
},
|
|
{
|
|
- "__type__": "cc.Label",
|
|
+ "__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
- "__id__": 23
|
|
+ "__id__": 19
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
- "__id__": 27
|
|
+ "__id__": 22
|
|
+ },
|
|
+ "_customMaterial": null,
|
|
+ "_srcBlendFactor": 2,
|
|
+ "_dstBlendFactor": 4,
|
|
+ "_color": {
|
|
+ "__type__": "cc.Color",
|
|
+ "r": 255,
|
|
+ "g": 255,
|
|
+ "b": 255,
|
|
+ "a": 255
|
|
+ },
|
|
+ "_spriteFrame": {
|
|
+ "__uuid__": "998850c4-7861-4c12-8cb4-be7a7415c42a@f9941",
|
|
+ "__expectedType__": "cc.SpriteFrame"
|
|
},
|
|
- "_string": "同意",
|
|
- "_horizontalAlign": 1,
|
|
- "_verticalAlign": 1,
|
|
- "_actualFontSize": 40,
|
|
- "_fontSize": 40,
|
|
- "_fontFamily": "Arial",
|
|
- "_lineHeight": 40,
|
|
- "_overflow": 0,
|
|
- "_enableWrapText": true,
|
|
- "_font": null,
|
|
- "_isSystemFontUsed": true,
|
|
- "_spacingX": 0,
|
|
- "_isItalic": false,
|
|
- "_isBold": false,
|
|
- "_isUnderline": false,
|
|
- "_underlineHeight": 2,
|
|
- "_cacheMode": 0,
|
|
+ "_type": 0,
|
|
+ "_fillType": 0,
|
|
+ "_sizeMode": 0,
|
|
+ "_fillCenter": {
|
|
+ "__type__": "cc.Vec2",
|
|
+ "x": 0,
|
|
+ "y": 0
|
|
+ },
|
|
+ "_fillStart": 0,
|
|
+ "_fillRange": 0,
|
|
+ "_isTrimmedMode": true,
|
|
+ "_useGrayscale": false,
|
|
+ "_atlas": null,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
- "fileId": "hJE0C+184TvFR8bGendFq3"
|
|
+ "fileId": "n4E6Phc2Du7834JbFXg4nd"
|
|
+ },
|
|
+ {
|
|
+ "__type__": "cc.Widget",
|
|
+ "_name": "",
|
|
+ "_objFlags": 0,
|
|
+ "__editorExtras__": {},
|
|
+ "node": {
|
|
+ "__id__": 19
|
|
+ },
|
|
+ "_enabled": true,
|
|
+ "__prefab": {
|
|
+ "__id__": 24
|
|
+ },
|
|
+ "_alignFlags": 24,
|
|
+ "_target": null,
|
|
+ "_left": 0,
|
|
+ "_right": 0,
|
|
+ "_top": 0,
|
|
+ "_bottom": 0,
|
|
+ "_horizontalCenter": -5.5,
|
|
+ "_verticalCenter": -208.5,
|
|
+ "_isAbsLeft": true,
|
|
+ "_isAbsRight": true,
|
|
+ "_isAbsTop": true,
|
|
+ "_isAbsBottom": true,
|
|
+ "_isAbsHorizontalCenter": true,
|
|
+ "_isAbsVerticalCenter": true,
|
|
+ "_originalWidth": 0,
|
|
+ "_originalHeight": 0,
|
|
+ "_alignMode": 2,
|
|
+ "_lockFlags": 0,
|
|
+ "_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
@@ -652,27 +642,84 @@
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
- "fileId": "0foVnezLdMaKOM1JSMLNEY",
|
|
+ "fileId": "297AVROK4atf6oUqkN1hbU",
|
|
"instance": null,
|
|
"targetOverrides": null,
|
|
"nestedPrefabInstanceRoots": null
|
|
},
|
|
{
|
|
+ "__type__": "cc.Node",
|
|
+ "_name": "Spirit253",
|
|
+ "_objFlags": 0,
|
|
+ "__editorExtras__": {},
|
|
+ "_parent": {
|
|
+ "__id__": 2
|
|
+ },
|
|
+ "_children": [],
|
|
+ "_active": true,
|
|
+ "_components": [
|
|
+ {
|
|
+ "__id__": 29
|
|
+ },
|
|
+ {
|
|
+ "__id__": 31
|
|
+ },
|
|
+ {
|
|
+ "__id__": 33
|
|
+ }
|
|
+ ],
|
|
+ "_prefab": {
|
|
+ "__id__": 34
|
|
+ },
|
|
+ "_lpos": {
|
|
+ "__type__": "cc.Vec3",
|
|
+ "x": 395.5,
|
|
+ "y": 312,
|
|
+ "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.CompPrefabInfo",
|
|
+ "fileId": "MXs4krBnTwKs9jcRoWsoue"
|
|
+ },
|
|
+ {
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
- "__id__": 5
|
|
+ "__id__": 27
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
- "__id__": 30
|
|
+ "__id__": 28
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
- "width": 200,
|
|
- "height": 60
|
|
+ "width": 83,
|
|
+ "height": 84
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
@@ -683,7 +730,7 @@
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
- "fileId": "b1ZgddyJxPMx64lUDbs5Ht"
|
|
+ "fileId": "RSxoUbKQ13s5FDPa4S8stK"
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
@@ -691,15 +738,11 @@
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
- "__id__": 5
|
|
+ "__id__": 27
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
- "__id__": 32
|
|
- },
|
|
- "_spriteFrame": {
|
|
- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941",
|
|
- "__expectedType__": "cc.SpriteFrame"
|
|
+ "__id__": 30
|
|
},
|
|
"_customMaterial": null,
|
|
"_srcBlendFactor": 2,
|
|
@@ -711,7 +754,11 @@
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
- "_type": 1,
|
|
+ "_spriteFrame": {
|
|
+ "__uuid__": "eedce6d7-3ea6-434c-83e1-87d9a04b2bad@f9941",
|
|
+ "__expectedType__": "cc.SpriteFrame"
|
|
+ },
|
|
+ "_type": 0,
|
|
"_fillType": 0,
|
|
"_sizeMode": 0,
|
|
"_fillCenter": {
|
|
@@ -728,65 +775,116 @@
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
- "fileId": "zIQRK9nIRNfXI1eAmamlv+"
|
|
+ "fileId": "S8Gp4f43opGMNFU8yqYvIr"
|
|
},
|
|
{
|
|
- "__type__": "cc.Button",
|
|
+ "__type__": "cc.Widget",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
- "__id__": 5
|
|
+ "__id__": 27
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
- "__id__": 34
|
|
+ "__id__": 32
|
|
},
|
|
- "_interactable": true,
|
|
- "_transition": 3,
|
|
- "_normalColor": {
|
|
- "__type__": "cc.Color",
|
|
- "r": 255,
|
|
- "g": 255,
|
|
- "b": 255,
|
|
- "a": 255
|
|
+ "_alignFlags": 24,
|
|
+ "_target": null,
|
|
+ "_left": 0,
|
|
+ "_right": 0,
|
|
+ "_top": 0,
|
|
+ "_bottom": 0,
|
|
+ "_horizontalCenter": 395.5,
|
|
+ "_verticalCenter": 312,
|
|
+ "_isAbsLeft": true,
|
|
+ "_isAbsRight": true,
|
|
+ "_isAbsTop": true,
|
|
+ "_isAbsBottom": true,
|
|
+ "_isAbsHorizontalCenter": true,
|
|
+ "_isAbsVerticalCenter": true,
|
|
+ "_originalWidth": 0,
|
|
+ "_originalHeight": 0,
|
|
+ "_alignMode": 2,
|
|
+ "_lockFlags": 0,
|
|
+ "_id": ""
|
|
+ },
|
|
+ {
|
|
+ "__type__": "cc.PrefabInfo",
|
|
+ "root": {
|
|
+ "__id__": 1
|
|
},
|
|
- "_hoverColor": {
|
|
- "__type__": "cc.Color",
|
|
- "r": 211,
|
|
- "g": 211,
|
|
- "b": 211,
|
|
- "a": 255
|
|
+ "asset": {
|
|
+ "__id__": 0
|
|
},
|
|
- "_pressedColor": {
|
|
- "__type__": "cc.Color",
|
|
- "r": 255,
|
|
- "g": 255,
|
|
- "b": 255,
|
|
- "a": 255
|
|
+ "fileId": "F94TpZYd1zvtC2C8Nuvc9j",
|
|
+ "instance": null,
|
|
+ "targetOverrides": null,
|
|
+ "nestedPrefabInstanceRoots": null
|
|
+ },
|
|
+ {
|
|
+ "__type__": "cc.CompPrefabInfo",
|
|
+ "fileId": "CpXRd4oB7tzsDjXicMDoBj"
|
|
+ },
|
|
+ {
|
|
+ "__type__": "cc.UITransform",
|
|
+ "_name": "",
|
|
+ "_objFlags": 0,
|
|
+ "__editorExtras__": {},
|
|
+ "node": {
|
|
+ "__id__": 2
|
|
},
|
|
- "_disabledColor": {
|
|
- "__type__": "cc.Color",
|
|
- "r": 124,
|
|
- "g": 124,
|
|
- "b": 124,
|
|
- "a": 255
|
|
+ "_enabled": true,
|
|
+ "__prefab": {
|
|
+ "__id__": 35
|
|
+ },
|
|
+ "_contentSize": {
|
|
+ "__type__": "cc.Size",
|
|
+ "width": 1600,
|
|
+ "height": 720
|
|
},
|
|
- "_normalSprite": null,
|
|
- "_hoverSprite": null,
|
|
- "_pressedSprite": null,
|
|
- "_disabledSprite": null,
|
|
- "_duration": 0.1,
|
|
- "_zoomScale": 1.2,
|
|
- "_target": {
|
|
- "__id__": 5
|
|
+ "_anchorPoint": {
|
|
+ "__type__": "cc.Vec2",
|
|
+ "x": 0.5,
|
|
+ "y": 0.5
|
|
},
|
|
- "_clickEvents": [],
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
- "fileId": "yfJ5G/LeFUJFLlB39J+0+C"
|
|
+ "fileId": "2ENhII9krOzYmsdNNyONVy"
|
|
+ },
|
|
+ {
|
|
+ "__type__": "cc.Widget",
|
|
+ "_name": "",
|
|
+ "_objFlags": 0,
|
|
+ "__editorExtras__": {},
|
|
+ "node": {
|
|
+ "__id__": 2
|
|
+ },
|
|
+ "_enabled": true,
|
|
+ "__prefab": {
|
|
+ "__id__": 37
|
|
+ },
|
|
+ "_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": 0,
|
|
+ "_originalHeight": 0,
|
|
+ "_alignMode": 2,
|
|
+ "_lockFlags": 0,
|
|
+ "_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
@@ -796,12 +894,16 @@
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
- "fileId": "f7LFsNystNUqYo2DwvY0qM",
|
|
+ "fileId": "Qt4q2pzjFx5f5d4OA92IMG",
|
|
"instance": null,
|
|
"targetOverrides": null,
|
|
"nestedPrefabInstanceRoots": null
|
|
},
|
|
{
|
|
+ "__type__": "cc.CompPrefabInfo",
|
|
+ "fileId": "9JRbFTOp1wkFliPtymUsWo"
|
|
+ },
|
|
+ {
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
@@ -811,12 +913,12 @@
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
- "__id__": 37
|
|
+ "__id__": 40
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
- "width": 100,
|
|
- "height": 100
|
|
+ "width": 1600,
|
|
+ "height": 720
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
@@ -827,7 +929,39 @@
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
- "fileId": "zQumdxaGzk8Ue2+Mf+gDOO"
|
|
+ "fileId": "bxFGsUwP3dv7LOuTH9hMVB"
|
|
+ },
|
|
+ {
|
|
+ "__type__": "cc.Widget",
|
|
+ "_name": "",
|
|
+ "_objFlags": 0,
|
|
+ "__editorExtras__": {},
|
|
+ "node": {
|
|
+ "__id__": 1
|
|
+ },
|
|
+ "_enabled": true,
|
|
+ "__prefab": {
|
|
+ "__id__": 42
|
|
+ },
|
|
+ "_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": 0,
|
|
+ "_originalHeight": 0,
|
|
+ "_alignMode": 2,
|
|
+ "_lockFlags": 0,
|
|
+ "_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
@@ -837,7 +971,7 @@
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
- "fileId": "ffywZn4uVL7aw3Apw1z+al",
|
|
+ "fileId": "9oCxJX1UEvxpUeW4I1c8XL",
|
|
"instance": null,
|
|
"targetOverrides": null,
|
|
"nestedPrefabInstanceRoots": null
|