From 2413e4d1ccab046b322c7d1b0d8760b9697472a0 Mon Sep 17 00:00:00 2001 From: panw Date: Mon, 11 May 2026 16:41:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(gui):=20=E6=96=B0=E5=A2=9E=E9=A1=B6?= =?UTF-8?q?=E9=83=A8=E6=A0=8F=E9=A2=84=E5=88=B6=E4=BD=93=E5=B9=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96UI=E5=B8=83=E5=B1=80=E4=B8=8E=E5=A4=8D=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增通用顶部栏UI预制体top.prefab及其配置文件,调整天赋项预制体的内容宽度,在角色控制器和天赋面板中复用该预制体以减少重复代码,同时优化天赋面板的布局与组件配置。 --- .../gui/element/prefab_talent_item.prefab | 10 +- assets/resources/gui/element/talents.prefab | 732 ++++++++---- assets/resources/gui/element/top.prefab | 1014 ++++++++++++++++ assets/resources/gui/element/top.prefab.meta | 13 + assets/resources/gui/role_controller.prefab | 1057 ++--------------- 5 files changed, 1589 insertions(+), 1237 deletions(-) create mode 100644 assets/resources/gui/element/top.prefab create mode 100644 assets/resources/gui/element/top.prefab.meta diff --git a/assets/resources/gui/element/prefab_talent_item.prefab b/assets/resources/gui/element/prefab_talent_item.prefab index 1898613f..d6c88306 100644 --- a/assets/resources/gui/element/prefab_talent_item.prefab +++ b/assets/resources/gui/element/prefab_talent_item.prefab @@ -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": { diff --git a/assets/resources/gui/element/talents.prefab b/assets/resources/gui/element/talents.prefab index c0ec73f7..c58e880d 100644 --- a/assets/resources/gui/element/talents.prefab +++ b/assets/resources/gui/element/talents.prefab @@ -22,38 +22,41 @@ "__id__": 2 }, { - "__id__": 10 + "__id__": 12 }, { - "__id__": 16 + "__id__": 18 }, { - "__id__": 60 + "__id__": 62 }, { - "__id__": 140 + "__id__": 142 }, { - "__id__": 144 + "__id__": 146 }, { - "__id__": 150 - } - ], - "_active": true, - "_components": [ - { - "__id__": 161 - }, - { - "__id__": 163 + "__id__": 154 }, { "__id__": 165 } ], + "_active": true, + "_components": [ + { + "__id__": 176 + }, + { + "__id__": 178 + }, + { + "__id__": 180 + } + ], "_prefab": { - "__id__": 167 + "__id__": 182 }, "_lpos": { "__type__": "cc.Vec3", @@ -103,10 +106,13 @@ }, { "__id__": 7 + }, + { + "__id__": 9 } ], "_prefab": { - "__id__": 9 + "__id__": 11 }, "_lpos": { "__type__": "cc.Vec3", @@ -249,6 +255,24 @@ "__type__": "cc.CompPrefabInfo", "fileId": "6fH3V0DsRLsaQbeOr9Yzjr" }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 10 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "10u8Q9sqlGYI6nIOzM9skP" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -274,14 +298,14 @@ "_active": true, "_components": [ { - "__id__": 11 + "__id__": 13 }, { - "__id__": 13 + "__id__": 15 } ], "_prefab": { - "__id__": 15 + "__id__": 17 }, "_lpos": { "__type__": "cc.Vec3", @@ -318,11 +342,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 10 + "__id__": 12 }, "_enabled": true, "__prefab": { - "__id__": 12 + "__id__": 14 }, "_contentSize": { "__type__": "cc.Size", @@ -346,11 +370,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 10 + "__id__": 12 }, "_enabled": true, "__prefab": { - "__id__": 14 + "__id__": 16 }, "_alignFlags": 41, "_target": null, @@ -399,29 +423,29 @@ }, "_children": [ { - "__id__": 17 + "__id__": 19 }, { - "__id__": 35 + "__id__": 37 } ], "_active": true, "_components": [ - { - "__id__": 53 - }, { "__id__": 55 }, { - "__id__": 32 + "__id__": 57 }, { - "__id__": 57 + "__id__": 34 + }, + { + "__id__": 59 } ], "_prefab": { - "__id__": 59 + "__id__": 61 }, "_lpos": { "__type__": "cc.Vec3", @@ -458,18 +482,15 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 16 + "__id__": 18 }, "_children": [ { - "__id__": 18 + "__id__": 20 } ], "_active": false, "_components": [ - { - "__id__": 24 - }, { "__id__": 26 }, @@ -478,10 +499,13 @@ }, { "__id__": 30 + }, + { + "__id__": 32 } ], "_prefab": { - "__id__": 52 + "__id__": 54 }, "_lpos": { "__type__": "cc.Vec3", @@ -518,20 +542,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 17 + "__id__": 19 }, "_children": [], "_active": true, "_components": [ { - "__id__": 19 + "__id__": 21 }, { - "__id__": 21 + "__id__": 23 } ], "_prefab": { - "__id__": 23 + "__id__": 25 }, "_lpos": { "__type__": "cc.Vec3", @@ -568,11 +592,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 18 + "__id__": 20 }, "_enabled": true, "__prefab": { - "__id__": 20 + "__id__": 22 }, "_contentSize": { "__type__": "cc.Size", @@ -596,11 +620,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 18 + "__id__": 20 }, "_enabled": true, "__prefab": { - "__id__": 22 + "__id__": 24 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -654,11 +678,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 17 + "__id__": 19 }, "_enabled": true, "__prefab": { - "__id__": 25 + "__id__": 27 }, "_contentSize": { "__type__": "cc.Size", @@ -682,11 +706,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 17 + "__id__": 19 }, "_enabled": true, "__prefab": { - "__id__": 27 + "__id__": 29 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -727,11 +751,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 17 + "__id__": 19 }, "_enabled": true, "__prefab": { - "__id__": 29 + "__id__": 31 }, "_alignFlags": 37, "_target": null, @@ -763,17 +787,17 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 17 + "__id__": 19 }, "_enabled": true, "__prefab": { - "__id__": 31 + "__id__": 33 }, "_scrollView": { - "__id__": 32 + "__id__": 34 }, "_handle": { - "__id__": 21 + "__id__": 23 }, "_direction": 1, "_enableAutoHide": false, @@ -790,11 +814,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 16 + "__id__": 18 }, "_enabled": true, "__prefab": { - "__id__": 33 + "__id__": 35 }, "bounceDuration": 0.23, "brake": 0.75, @@ -805,11 +829,11 @@ "cancelInnerEvents": true, "scrollEvents": [], "_content": { - "__id__": 34 + "__id__": 36 }, "_horizontalScrollBar": null, "_verticalScrollBar": { - "__id__": 30 + "__id__": 32 }, "_id": "" }, @@ -823,28 +847,28 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 35 + "__id__": 37 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 45 - }, { "__id__": 47 }, { "__id__": 49 + }, + { + "__id__": 51 } ], "_prefab": { - "__id__": 51 + "__id__": 53 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -245, + "y": 5, "z": 0 }, "_lrot": { @@ -876,18 +900,15 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 16 + "__id__": 18 }, "_children": [ { - "__id__": 34 + "__id__": 36 } ], "_active": true, "_components": [ - { - "__id__": 36 - }, { "__id__": 38 }, @@ -896,10 +917,13 @@ }, { "__id__": 42 + }, + { + "__id__": 44 } ], "_prefab": { - "__id__": 44 + "__id__": 46 }, "_lpos": { "__type__": "cc.Vec3", @@ -936,11 +960,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 35 + "__id__": 37 }, "_enabled": true, "__prefab": { - "__id__": 37 + "__id__": 39 }, "_contentSize": { "__type__": "cc.Size", @@ -964,11 +988,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 35 + "__id__": 37 }, "_enabled": true, "__prefab": { - "__id__": 39 + "__id__": 41 }, "_type": 0, "_inverted": false, @@ -986,11 +1010,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 35 + "__id__": 37 }, "_enabled": true, "__prefab": { - "__id__": 41 + "__id__": 43 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1032,11 +1056,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 35 + "__id__": 37 }, "_enabled": true, "__prefab": { - "__id__": 43 + "__id__": 45 }, "_alignFlags": 45, "_target": null, @@ -1081,16 +1105,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 34 + "__id__": 36 }, "_enabled": true, "__prefab": { - "__id__": 46 + "__id__": 48 }, "_contentSize": { "__type__": "cc.Size", "width": 660, - "height": 1500 + "height": 1000 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1109,11 +1133,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 34 + "__id__": 36 }, "_enabled": true, "__prefab": { - "__id__": 48 + "__id__": 50 }, "_alignFlags": 41, "_target": null, @@ -1145,11 +1169,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 34 + "__id__": 36 }, "_enabled": true, "__prefab": { - "__id__": 50 + "__id__": 52 }, "_resizeMode": 0, "_layoutType": 3, @@ -1209,11 +1233,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 16 + "__id__": 18 }, "_enabled": true, "__prefab": { - "__id__": 54 + "__id__": 56 }, "_contentSize": { "__type__": "cc.Size", @@ -1237,11 +1261,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 16 + "__id__": 18 }, "_enabled": false, "__prefab": { - "__id__": 56 + "__id__": 58 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1282,11 +1306,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 16 + "__id__": 18 }, "_enabled": true, "__prefab": { - "__id__": 58 + "__id__": 60 }, "_alignFlags": 45, "_target": null, @@ -1335,38 +1359,38 @@ }, "_children": [ { - "__id__": 61 + "__id__": 63 }, { - "__id__": 67 + "__id__": 69 }, { - "__id__": 73 + "__id__": 75 }, { - "__id__": 79 + "__id__": 81 }, { - "__id__": 109 + "__id__": 111 }, { - "__id__": 115 + "__id__": 117 }, { - "__id__": 121 + "__id__": 123 } ], "_active": true, "_components": [ { - "__id__": 135 + "__id__": 137 }, { - "__id__": 137 + "__id__": 139 } ], "_prefab": { - "__id__": 139 + "__id__": 141 }, "_lpos": { "__type__": "cc.Vec3", @@ -1403,20 +1427,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 60 + "__id__": 62 }, "_children": [], "_active": true, "_components": [ { - "__id__": 62 + "__id__": 64 }, { - "__id__": 64 + "__id__": 66 } ], "_prefab": { - "__id__": 66 + "__id__": 68 }, "_lpos": { "__type__": "cc.Vec3", @@ -1453,11 +1477,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 61 + "__id__": 63 }, "_enabled": true, "__prefab": { - "__id__": 63 + "__id__": 65 }, "_contentSize": { "__type__": "cc.Size", @@ -1481,11 +1505,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 61 + "__id__": 63 }, "_enabled": true, "__prefab": { - "__id__": 65 + "__id__": 67 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1539,20 +1563,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 60 + "__id__": 62 }, "_children": [], "_active": false, "_components": [ { - "__id__": 68 + "__id__": 70 }, { - "__id__": 70 + "__id__": 72 } ], "_prefab": { - "__id__": 72 + "__id__": 74 }, "_lpos": { "__type__": "cc.Vec3", @@ -1589,11 +1613,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 67 + "__id__": 69 }, "_enabled": true, "__prefab": { - "__id__": 69 + "__id__": 71 }, "_contentSize": { "__type__": "cc.Size", @@ -1617,11 +1641,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 67 + "__id__": 69 }, "_enabled": true, "__prefab": { - "__id__": 71 + "__id__": 73 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1698,20 +1722,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 60 + "__id__": 62 }, "_children": [], "_active": false, "_components": [ { - "__id__": 74 + "__id__": 76 }, { - "__id__": 76 + "__id__": 78 } ], "_prefab": { - "__id__": 78 + "__id__": 80 }, "_lpos": { "__type__": "cc.Vec3", @@ -1748,11 +1772,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 73 + "__id__": 75 }, "_enabled": true, "__prefab": { - "__id__": 75 + "__id__": 77 }, "_contentSize": { "__type__": "cc.Size", @@ -1776,11 +1800,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 73 + "__id__": 75 }, "_enabled": true, "__prefab": { - "__id__": 77 + "__id__": 79 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1857,33 +1881,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 60 + "__id__": 62 }, "_children": [ { - "__id__": 80 + "__id__": 82 }, { - "__id__": 88 + "__id__": 90 }, { - "__id__": 94 + "__id__": 96 } ], "_active": false, "_components": [ - { - "__id__": 102 - }, { "__id__": 104 }, { "__id__": 106 + }, + { + "__id__": 108 } ], "_prefab": { - "__id__": 108 + "__id__": 110 }, "_lpos": { "__type__": "cc.Vec3", @@ -1920,23 +1944,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 79 + "__id__": 81 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 81 - }, { "__id__": 83 }, { "__id__": 85 + }, + { + "__id__": 87 } ], "_prefab": { - "__id__": 87 + "__id__": 89 }, "_lpos": { "__type__": "cc.Vec3", @@ -1973,11 +1997,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 80 + "__id__": 82 }, "_enabled": true, "__prefab": { - "__id__": 82 + "__id__": 84 }, "_contentSize": { "__type__": "cc.Size", @@ -2001,11 +2025,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 80 + "__id__": 82 }, "_enabled": true, "__prefab": { - "__id__": 84 + "__id__": 86 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2049,11 +2073,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 80 + "__id__": 82 }, "_enabled": true, "__prefab": { - "__id__": 86 + "__id__": 88 }, "_alignFlags": 5, "_target": null, @@ -2098,20 +2122,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 79 + "__id__": 81 }, "_children": [], "_active": true, "_components": [ { - "__id__": 89 + "__id__": 91 }, { - "__id__": 91 + "__id__": 93 } ], "_prefab": { - "__id__": 93 + "__id__": 95 }, "_lpos": { "__type__": "cc.Vec3", @@ -2148,11 +2172,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 88 + "__id__": 90 }, "_enabled": true, "__prefab": { - "__id__": 90 + "__id__": 92 }, "_contentSize": { "__type__": "cc.Size", @@ -2176,11 +2200,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 88 + "__id__": 90 }, "_enabled": true, "__prefab": { - "__id__": 92 + "__id__": 94 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2257,23 +2281,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 79 + "__id__": 81 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 95 - }, { "__id__": 97 }, { "__id__": 99 + }, + { + "__id__": 101 } ], "_prefab": { - "__id__": 101 + "__id__": 103 }, "_lpos": { "__type__": "cc.Vec3", @@ -2310,11 +2334,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 94 + "__id__": 96 }, "_enabled": true, "__prefab": { - "__id__": 96 + "__id__": 98 }, "_contentSize": { "__type__": "cc.Size", @@ -2338,11 +2362,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 94 + "__id__": 96 }, "_enabled": true, "__prefab": { - "__id__": 98 + "__id__": 100 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2383,11 +2407,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 94 + "__id__": 96 }, "_enabled": true, "__prefab": { - "__id__": 100 + "__id__": 102 }, "_alignFlags": 45, "_target": null, @@ -2432,11 +2456,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 79 + "__id__": 81 }, "_enabled": true, "__prefab": { - "__id__": 103 + "__id__": 105 }, "_contentSize": { "__type__": "cc.Size", @@ -2460,11 +2484,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 79 + "__id__": 81 }, "_enabled": false, "__prefab": { - "__id__": 105 + "__id__": 107 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2505,14 +2529,14 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 79 + "__id__": 81 }, "_enabled": true, "__prefab": { - "__id__": 107 + "__id__": 109 }, "_barSprite": { - "__id__": 83 + "__id__": 85 }, "_mode": 0, "_totalLength": 300, @@ -2543,20 +2567,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 60 + "__id__": 62 }, "_children": [], "_active": false, "_components": [ { - "__id__": 110 + "__id__": 112 }, { - "__id__": 112 + "__id__": 114 } ], "_prefab": { - "__id__": 114 + "__id__": 116 }, "_lpos": { "__type__": "cc.Vec3", @@ -2593,11 +2617,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 109 + "__id__": 111 }, "_enabled": true, "__prefab": { - "__id__": 111 + "__id__": 113 }, "_contentSize": { "__type__": "cc.Size", @@ -2621,11 +2645,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 109 + "__id__": 111 }, "_enabled": true, "__prefab": { - "__id__": 113 + "__id__": 115 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2702,20 +2726,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 60 + "__id__": 62 }, "_children": [], "_active": false, "_components": [ { - "__id__": 116 + "__id__": 118 }, { - "__id__": 118 + "__id__": 120 } ], "_prefab": { - "__id__": 120 + "__id__": 122 }, "_lpos": { "__type__": "cc.Vec3", @@ -2752,11 +2776,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 115 + "__id__": 117 }, "_enabled": true, "__prefab": { - "__id__": 117 + "__id__": 119 }, "_contentSize": { "__type__": "cc.Size", @@ -2780,11 +2804,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 115 + "__id__": 117 }, "_enabled": true, "__prefab": { - "__id__": 119 + "__id__": 121 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2861,27 +2885,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 60 + "__id__": 62 }, "_children": [ { - "__id__": 122 + "__id__": 124 } ], "_active": false, "_components": [ - { - "__id__": 128 - }, { "__id__": 130 }, { "__id__": 132 + }, + { + "__id__": 134 } ], "_prefab": { - "__id__": 134 + "__id__": 136 }, "_lpos": { "__type__": "cc.Vec3", @@ -2918,20 +2942,20 @@ "_objFlags": 512, "__editorExtras__": {}, "_parent": { - "__id__": 121 + "__id__": 123 }, "_children": [], "_active": true, "_components": [ { - "__id__": 123 + "__id__": 125 }, { - "__id__": 125 + "__id__": 127 } ], "_prefab": { - "__id__": 127 + "__id__": 129 }, "_lpos": { "__type__": "cc.Vec3", @@ -2968,11 +2992,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 124 }, "_enabled": true, "__prefab": { - "__id__": 124 + "__id__": 126 }, "_contentSize": { "__type__": "cc.Size", @@ -2996,11 +3020,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 124 }, "_enabled": true, "__prefab": { - "__id__": 126 + "__id__": 128 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3077,11 +3101,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 121 + "__id__": 123 }, "_enabled": true, "__prefab": { - "__id__": 129 + "__id__": 131 }, "_contentSize": { "__type__": "cc.Size", @@ -3105,11 +3129,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 121 + "__id__": 123 }, "_enabled": true, "__prefab": { - "__id__": 131 + "__id__": 133 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3153,11 +3177,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 121 + "__id__": 123 }, "_enabled": true, "__prefab": { - "__id__": 133 + "__id__": 135 }, "clickEvents": [], "_interactable": true, @@ -3209,7 +3233,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 121 + "__id__": 123 }, "_id": "" }, @@ -3236,11 +3260,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 60 + "__id__": 62 }, "_enabled": true, "__prefab": { - "__id__": 136 + "__id__": 138 }, "_contentSize": { "__type__": "cc.Size", @@ -3264,11 +3288,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 60 + "__id__": 62 }, "_enabled": true, "__prefab": { - "__id__": 138 + "__id__": 140 }, "_alignFlags": 41, "_target": null, @@ -3319,11 +3343,11 @@ "_active": true, "_components": [ { - "__id__": 141 + "__id__": 143 } ], "_prefab": { - "__id__": 143 + "__id__": 145 }, "_lpos": { "__type__": "cc.Vec3", @@ -3360,11 +3384,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 140 + "__id__": 142 }, "_enabled": true, "__prefab": { - "__id__": 142 + "__id__": 144 }, "_contentSize": { "__type__": "cc.Size", @@ -3407,19 +3431,22 @@ "_active": true, "_components": [ { - "__id__": 145 + "__id__": 147 }, { - "__id__": 147 + "__id__": 149 + }, + { + "__id__": 151 } ], "_prefab": { - "__id__": 149 + "__id__": 153 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -595.258, + "y": -638.343, "z": 0 }, "_lrot": { @@ -3451,11 +3478,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 144 + "__id__": 146 }, "_enabled": true, "__prefab": { - "__id__": 146 + "__id__": 148 }, "_contentSize": { "__type__": "cc.Size", @@ -3479,11 +3506,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 144 + "__id__": 146 }, "_enabled": true, "__prefab": { - "__id__": 148 + "__id__": 150 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3518,6 +3545,42 @@ "__type__": "cc.CompPrefabInfo", "fileId": "eaqDpRpohNVLSjcQy1548b" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 146 + }, + "_enabled": true, + "__prefab": { + "__id__": 152 + }, + "_alignFlags": 4, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": -138.34299999999996, + "_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": "47RxvmSwRH6I9PM8BqfDo+" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -3542,26 +3605,26 @@ "_children": [], "_active": true, "_components": [ - { - "__id__": 151 - }, - { - "__id__": 153 - }, { "__id__": 155 }, { - "__id__": 158 + "__id__": 157 + }, + { + "__id__": 159 + }, + { + "__id__": 162 } ], "_prefab": { - "__id__": 160 + "__id__": 164 }, "_lpos": { "__type__": "cc.Vec3", - "x": -298.4, - "y": -559, + "x": -327.04, + "y": -596.606, "z": 0 }, "_lrot": { @@ -3593,11 +3656,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 150 + "__id__": 154 }, "_enabled": true, "__prefab": { - "__id__": 152 + "__id__": 156 }, "_contentSize": { "__type__": "cc.Size", @@ -3606,8 +3669,8 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 + "x": 0.3, + "y": 0.3 }, "_id": "" }, @@ -3621,11 +3684,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 150 + "__id__": 154 }, "_enabled": true, "__prefab": { - "__id__": 154 + "__id__": 158 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3666,15 +3729,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 150 + "__id__": 154 }, "_enabled": true, "__prefab": { - "__id__": 156 + "__id__": 160 }, "clickEvents": [ { - "__id__": 157 + "__id__": 161 } ], "_interactable": true, @@ -3714,7 +3777,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 150 + "__id__": 154 }, "_id": "" }, @@ -3736,18 +3799,18 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 150 + "__id__": 154 }, "_enabled": true, "__prefab": { - "__id__": 159 + "__id__": 163 }, "_alignFlags": 12, "_target": null, "_left": -10, "_right": 0, "_top": 0, - "_bottom": 25, + "_bottom": 9.793999999999983, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -3779,6 +3842,150 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 166 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 165 + }, + "asset": { + "__uuid__": "56aee962-4a5e-45ae-a779-999444d06d18", + "__expectedType__": "cc.Prefab" + }, + "fileId": "cboM54s0hM07XCtrpFp0/b", + "instance": { + "__id__": 167 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "64iUo2urJCyZ8BM9W4shK0", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 168 + }, + { + "__id__": 170 + }, + { + "__id__": 171 + }, + { + "__id__": 172 + }, + { + "__id__": 173 + }, + { + "__id__": 175 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 169 + }, + "propertyPath": [ + "_name" + ], + "value": "top" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "cboM54s0hM07XCtrpFp0/b" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 169 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 528.069, + "y": -574.7269999999999, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 169 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 169 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 174 + }, + "propertyPath": [ + "_top" + ], + "value": 1179.7269999999999 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "52mhkKH89DVKECWS3HY4Qh" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 174 + }, + "propertyPath": [ + "_horizontalCenter" + ], + "value": 528.069 + }, { "__type__": "cc.UITransform", "_name": "", @@ -3789,7 +3996,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 162 + "__id__": 177 }, "_contentSize": { "__type__": "cc.Size", @@ -3817,7 +4024,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 164 + "__id__": 179 }, "_alignFlags": 45, "_target": null, @@ -3853,35 +4060,35 @@ }, "_enabled": true, "__prefab": { - "__id__": 166 + "__id__": 181 }, "title_node": { - "__id__": 10 + "__id__": 12 }, "lbl_level": { - "__id__": 76 + "__id__": 78 }, "lbl_exp": { - "__id__": 91 + "__id__": 93 }, "pb_exp": { - "__id__": 106 + "__id__": 108 }, "lbl_points": { - "__id__": 118 + "__id__": 120 }, "talents_content": { - "__id__": 34 + "__id__": 36 }, "prefab_talent_item": { "__uuid__": "a0cdb31c-0abb-4e12-9dfe-0bd9e8cd7272", "__expectedType__": "cc.Prefab" }, "btn_reset": { - "__id__": 132 + "__id__": 134 }, "btn_close": { - "__id__": 155 + "__id__": 159 }, "_id": "" }, @@ -3899,6 +4106,11 @@ }, "fileId": "f2zPd6AOdBrIgj89xLzmRM", "instance": null, - "targetOverrides": null + "targetOverrides": null, + "nestedPrefabInstanceRoots": [ + { + "__id__": 165 + } + ] } ] \ No newline at end of file diff --git a/assets/resources/gui/element/top.prefab b/assets/resources/gui/element/top.prefab new file mode 100644 index 00000000..8d67b19d --- /dev/null +++ b/assets/resources/gui/element/top.prefab @@ -0,0 +1,1014 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "top", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "top", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 40 + }, + { + "__id__": 42 + }, + { + "__id__": 44 + } + ], + "_prefab": { + "__id__": 46 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 575.8599999999999, + "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", + "_name": "bar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + } + ], + "_active": true, + "_components": [ + { + "__id__": 31 + }, + { + "__id__": 33 + }, + { + "__id__": 35 + }, + { + "__id__": 37 + } + ], + "_prefab": { + "__id__": 39 + }, + "_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.Node", + "_name": "gold", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 4 + }, + { + "__id__": 12 + }, + { + "__id__": 18 + } + ], + "_active": true, + "_components": [ + { + "__id__": 28 + } + ], + "_prefab": { + "__id__": 30 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -325, + "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.Node", + "_name": "Bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 9 + } + ], + "_prefab": { + "__id__": 11 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 70, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.7, + "y": 0.7, + "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__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, + "height": 55 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "37pNsqLepCpaEkC4cRbI8r" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 8 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@7f50d", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6eHkVl5CNEfI+hQmOlCgi2" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 10 + }, + "_alignFlags": 40, + "_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": 54, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "35oTXr4uxFOLx42NKfSuM+" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "471trB2GNE2ItfyZfWOK82", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "icon", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 13 + }, + { + "__id__": 15 + } + ], + "_prefab": { + "__id__": 17 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -3.5, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.35, + "y": 0.35, + "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__": 12 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 128, + "height": 128 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7aIkQ5JSpNM5ouwroUcJR5" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 12 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@ec5a5", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e2xMPaIU9P6pCvK6SVJWSM" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8ddvIRfIJD0rNWzscorMSi", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "num", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 19 + }, + { + "__id__": 21 + }, + { + "__id__": 23 + }, + { + "__id__": 25 + } + ], + "_prefab": { + "__id__": 27 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 84.444, + "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__": 18 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 80, + "height": 35 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d86w/CDklPlZ8+ouhOAWei" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": { + "__id__": 22 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "{{0}}", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 25, + "_fontSize": 25, + "_fontFamily": "Arial", + "_lineHeight": 35, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": true, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "15ppzmcqRNtKuPpO9ZIUjF" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": { + "__id__": 24 + }, + "_alignFlags": 10, + "_target": null, + "_left": 44.444, + "_right": -15, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 80, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f80PPouiNFIZHp+2cdE2+T" + }, + { + "__type__": "545c05XsG9GDJispEGWKvYv", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": { + "__id__": 26 + }, + "templateMode": true, + "watchPath": "data.data.gold", + "labelType": "cc.Label", + "watchPathArr": [ + "data.gold" + ], + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "88gxdqAW9EdaHDFZ22nJeR" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1b1H3QG1tAGYeDyCgFbaDB", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 140, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "50mF7KUJpE6qqdl/ArToCE" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "266Zb/R9ZHAqy90+7cI724", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 32 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 650, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3bsCiIpR5GRa212gPgcPb7" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 34 + }, + "_alignFlags": 8, + "_target": null, + "_left": 35, + "_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": "95ikeO0I5G07gajbo6eYHt" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 36 + }, + "_resizeMode": 0, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 15, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c2sUzLq/ZBc7by/MFkMZjz" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 38 + }, + "_alignFlags": 40, + "_target": null, + "_left": 4771.66, + "_right": 4754.34, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 615, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ee9P3ogUFB67xneveHlbOy" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "47/5lUdBVJF5+9KC5hZXXG", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 41 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 70 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6043W1cfpBIJbcawCUrSCo" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 43 + }, + "_alignFlags": 17, + "_target": null, + "_left": -2.8089999999999886, + "_right": 2.8089999999999886, + "_top": 29.1400000000001, + "_bottom": 1187.74, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 720, + "_originalHeight": 70, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "52mhkKH89DVKECWS3HY4Qh" + }, + { + "__type__": "f05bcVVHW1Jt5BHMwVKO3rc", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 45 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f1BI4v8h1BnbtwxoUY04B/" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "cboM54s0hM07XCtrpFp0/b", + "instance": null, + "targetOverrides": null + } +] \ No newline at end of file diff --git a/assets/resources/gui/element/top.prefab.meta b/assets/resources/gui/element/top.prefab.meta new file mode 100644 index 00000000..c5a490cf --- /dev/null +++ b/assets/resources/gui/element/top.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "56aee962-4a5e-45ae-a779-999444d06d18", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "top" + } +} diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 7e437b9b..dba4267a 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -31,17 +31,17 @@ "_active": true, "_components": [ { - "__id__": 319 + "__id__": 281 }, { - "__id__": 321 + "__id__": 283 }, { - "__id__": 323 + "__id__": 285 } ], "_prefab": { - "__id__": 325 + "__id__": 287 }, "_lpos": { "__type__": "cc.Vec3", @@ -6290,1006 +6290,115 @@ }, { "__type__": "cc.Node", - "_name": "top", "_objFlags": 0, - "__editorExtras__": {}, "_parent": { "__id__": 1 }, - "_children": [ - { - "__id__": 274 - } - ], - "_active": false, - "_components": [ - { - "__id__": 312 - }, - { - "__id__": 314 - }, - { - "__id__": 316 - } - ], "_prefab": { - "__id__": 318 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 1215.86, - "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", - "_name": "bar", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 273 - }, - "_children": [ - { - "__id__": 275 - } - ], - "_active": true, - "_components": [ - { - "__id__": 303 - }, - { - "__id__": 305 - }, - { - "__id__": 307 - }, - { - "__id__": 309 - } - ], - "_prefab": { - "__id__": 311 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 40.865, - "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", - "_name": "gold", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { "__id__": 274 }, - "_children": [ + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 273 + }, + "asset": { + "__uuid__": "56aee962-4a5e-45ae-a779-999444d06d18", + "__expectedType__": "cc.Prefab" + }, + "fileId": "cboM54s0hM07XCtrpFp0/b", + "instance": { + "__id__": 275 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "2fMXacmbRNHo6Tx0XZe8OP", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ { "__id__": 276 }, { - "__id__": 284 - }, - { - "__id__": 290 - } - ], - "_active": true, - "_components": [ - { - "__id__": 300 - } - ], - "_prefab": { - "__id__": 302 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -350, - "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.Node", - "_name": "Bg", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 275 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 277 + "__id__": 278 }, { "__id__": 279 }, { - "__id__": 281 + "__id__": 280 } ], - "_prefab": { - "__id__": 283 + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 277 }, - "_lpos": { + "propertyPath": [ + "_name" + ], + "value": "top" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "cboM54s0hM07XCtrpFp0/b" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 277 + }, + "propertyPath": [ + "_lpos" + ], + "value": { "__type__": "cc.Vec3", - "x": 70, - "y": 0, + "x": 0, + "y": 1215.86, "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 277 }, - "_lrot": { + "propertyPath": [ + "_lrot" + ], + "value": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 0.7, - "y": 0.7, - "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__": 276 + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 277 }, - "_enabled": true, - "__prefab": { - "__id__": 278 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 200, - "height": 55 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "37pNsqLepCpaEkC4cRbI8r" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 276 - }, - "_enabled": true, - "__prefab": { - "__id__": 280 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@7f50d", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 1, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": { - "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4", - "__expectedType__": "cc.SpriteAtlas" - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "6eHkVl5CNEfI+hQmOlCgi2" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 276 - }, - "_enabled": true, - "__prefab": { - "__id__": 282 - }, - "_alignFlags": 40, - "_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": 54, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "35oTXr4uxFOLx42NKfSuM+" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "471trB2GNE2ItfyZfWOK82", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "icon", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 275 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 285 - }, - { - "__id__": 287 - } + "propertyPath": [ + "_euler" ], - "_prefab": { - "__id__": 289 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -3.5, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 0.35, - "y": 0.35, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 284 - }, - "_enabled": true, - "__prefab": { - "__id__": 286 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 128, - "height": 128 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "7aIkQ5JSpNM5ouwroUcJR5" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 284 - }, - "_enabled": true, - "__prefab": { - "__id__": 288 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@ec5a5", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": { - "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4", - "__expectedType__": "cc.SpriteAtlas" - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e2xMPaIU9P6pCvK6SVJWSM" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "8ddvIRfIJD0rNWzscorMSi", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "num", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 275 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 291 - }, - { - "__id__": 293 - }, - { - "__id__": 295 - }, - { - "__id__": 297 - } - ], - "_prefab": { - "__id__": 299 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 84.444, - "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__": 290 - }, - "_enabled": true, - "__prefab": { - "__id__": 292 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 80, - "height": 35 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d86w/CDklPlZ8+ouhOAWei" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 290 - }, - "_enabled": true, - "__prefab": { - "__id__": 294 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "{{0}}", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 25, - "_fontSize": 25, - "_fontFamily": "Arial", - "_lineHeight": 35, - "_overflow": 2, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": true, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "15ppzmcqRNtKuPpO9ZIUjF" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 290 - }, - "_enabled": true, - "__prefab": { - "__id__": 296 - }, - "_alignFlags": 10, - "_target": null, - "_left": 44.444, - "_right": -15, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 5, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 80, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "f80PPouiNFIZHp+2cdE2+T" - }, - { - "__type__": "545c05XsG9GDJispEGWKvYv", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 290 - }, - "_enabled": true, - "__prefab": { - "__id__": 298 - }, - "templateMode": true, - "watchPath": "data.data.gold", - "labelType": "cc.Label", - "watchPathArr": [ - "data.gold" - ], - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "88gxdqAW9EdaHDFZ22nJeR" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "1b1H3QG1tAGYeDyCgFbaDB", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 275 - }, - "_enabled": true, - "__prefab": { - "__id__": 301 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 140, - "height": 50 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "50mF7KUJpE6qqdl/ArToCE" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "266Zb/R9ZHAqy90+7cI724", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 274 - }, - "_enabled": true, - "__prefab": { - "__id__": 304 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 700, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "3bsCiIpR5GRa212gPgcPb7" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 274 - }, - "_enabled": true, - "__prefab": { - "__id__": 306 - }, - "_alignFlags": 8, - "_target": null, - "_left": 10, - "_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": "95ikeO0I5G07gajbo6eYHt" - }, - { - "__type__": "cc.Layout", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 274 - }, - "_enabled": true, - "__prefab": { - "__id__": 308 - }, - "_resizeMode": 0, - "_layoutType": 1, - "_cellSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_startAxis": 0, - "_paddingLeft": 0, - "_paddingRight": 0, - "_paddingTop": 0, - "_paddingBottom": 0, - "_spacingX": 15, - "_spacingY": 0, - "_verticalDirection": 1, - "_horizontalDirection": 0, - "_constraint": 0, - "_constraintNum": 2, - "_affectedByScale": false, - "_isAlign": false, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c2sUzLq/ZBc7by/MFkMZjz" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 274 - }, - "_enabled": true, - "__prefab": { - "__id__": 310 - }, - "_alignFlags": 40, - "_target": null, - "_left": 4082.16, - "_right": 4064.84, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 615, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "ee9P3ogUFB67xneveHlbOy" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "47/5lUdBVJF5+9KC5hZXXG", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 273 - }, - "_enabled": true, - "__prefab": { - "__id__": 313 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 720, - "height": 70 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "6043W1cfpBIJbcawCUrSCo" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 273 - }, - "_enabled": true, - "__prefab": { - "__id__": 315 - }, - "_alignFlags": 17, - "_target": null, - "_left": -2.8089999999999886, - "_right": 2.8089999999999886, - "_top": 29.1400000000001, - "_bottom": 1187.74, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 720, - "_originalHeight": 70, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "52mhkKH89DVKECWS3HY4Qh" - }, - { - "__type__": "f05bcVVHW1Jt5BHMwVKO3rc", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 273 - }, - "_enabled": true, - "__prefab": { - "__id__": 317 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "f1BI4v8h1BnbtwxoUY04B/" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "cboM54s0hM07XCtrpFp0/b", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null + } }, { "__type__": "cc.UITransform", @@ -7301,7 +6410,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 320 + "__id__": 282 }, "_contentSize": { "__type__": "cc.Size", @@ -7329,7 +6438,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 322 + "__id__": 284 }, "_alignFlags": 45, "_target": null, @@ -7365,7 +6474,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 324 + "__id__": 286 }, "debugMode": false, "_id": "" @@ -7384,7 +6493,11 @@ }, "fileId": "6514ysgfJNtIx/ak03+nce", "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": [ + { + "__id__": 273 + }, { "__id__": 264 }