From 8178749c03b4eb44482de61fda788f26a2d547ef Mon Sep 17 00:00:00 2001 From: walkpan Date: Sun, 26 Apr 2026 23:00:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(ui):=20=E6=B7=BB=E5=8A=A0=E5=A4=A9?= =?UTF-8?q?=E8=B5=8B=E7=B3=BB=E7=BB=9F=E7=95=8C=E9=9D=A2=E5=8F=8A=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 MissionHomeComp 中添加打开天赋界面的方法 openTalents - 更新 ranks.prefab 界面布局,为天赋按钮预留位置 - 新增 talents.prefab 天赋系统完整界面,包含等级、经验、天赋点显示 - 天赋界面支持天赋项展示、重置功能及关闭操作 --- assets/resources/gui/element/ranks.prefab | 184 +- assets/resources/gui/element/talents.prefab | 1665 +++++++++++-------- assets/resources/gui/role_controller.prefab | 1396 ++++++++++++++-- assets/script/game/map/MissionHomeComp.ts | 3 + 4 files changed, 2376 insertions(+), 872 deletions(-) diff --git a/assets/resources/gui/element/ranks.prefab b/assets/resources/gui/element/ranks.prefab index 429a3141..9a708550 100644 --- a/assets/resources/gui/element/ranks.prefab +++ b/assets/resources/gui/element/ranks.prefab @@ -32,22 +32,25 @@ }, { "__id__": 166 + }, + { + "__id__": 172 } ], "_active": true, "_components": [ { - "__id__": 177 + "__id__": 183 }, { - "__id__": 179 + "__id__": 185 }, { - "__id__": 181 + "__id__": 187 } ], "_prefab": { - "__id__": 183 + "__id__": 189 }, "_lpos": { "__type__": "cc.Vec3", @@ -3829,8 +3832,140 @@ "__id__": 0 }, "fileId": "60zyAJG75FD4lr3BUqk8h+", - "instance": null, - "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Rounded Rectangle 2402", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 167 + }, + { + "__id__": 169 + } + ], + "_prefab": { + "__id__": 171 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -595.258, + "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__": 166 + }, + "_enabled": true, + "__prefab": { + "__id__": 168 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "31OByBx2BFlb2nfAV8gZrL" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 166 + }, + "_enabled": true, + "__prefab": { + "__id__": 170 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@bc0ca", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b9RHGAtT9Mwb6jyZJdm/Iy" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5baCaOgaJJj5xGYYZRPLag", "nestedPrefabInstanceRoots": null }, { @@ -3845,20 +3980,20 @@ "_active": true, "_components": [ { - "__id__": 167 + "__id__": 173 }, { - "__id__": 169 + "__id__": 175 }, { - "__id__": 171 + "__id__": 177 }, { - "__id__": 174 + "__id__": 180 } ], "_prefab": { - "__id__": 176 + "__id__": 182 }, "_lpos": { "__type__": "cc.Vec3", @@ -3895,11 +4030,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 166 + "__id__": 172 }, "_enabled": true, "__prefab": { - "__id__": 168 + "__id__": 174 }, "_contentSize": { "__type__": "cc.Size", @@ -3923,11 +4058,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 166 + "__id__": 172 }, "_enabled": true, "__prefab": { - "__id__": 170 + "__id__": 176 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3968,15 +4103,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 166 + "__id__": 172 }, "_enabled": true, "__prefab": { - "__id__": 172 + "__id__": 178 }, "clickEvents": [ { - "__id__": 173 + "__id__": 179 } ], "_interactable": true, @@ -4016,7 +4151,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 166 + "__id__": 172 }, "_id": "" }, @@ -4040,11 +4175,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 166 + "__id__": 172 }, "_enabled": true, "__prefab": { - "__id__": 175 + "__id__": 181 }, "_alignFlags": 12, "_target": null, @@ -4093,7 +4228,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 178 + "__id__": 184 }, "_contentSize": { "__type__": "cc.Size", @@ -4121,7 +4256,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 180 + "__id__": 186 }, "_alignFlags": 45, "_target": null, @@ -4157,7 +4292,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 182 + "__id__": 188 }, "top1_node": { "__id__": 47 @@ -4195,7 +4330,6 @@ }, "fileId": "84hrfbDo1AOq3VROGZvWWt", "instance": null, - "targetOverrides": null, "nestedPrefabInstanceRoots": [ { "__id__": 151 diff --git a/assets/resources/gui/element/talents.prefab b/assets/resources/gui/element/talents.prefab index 0e18b79c..9407c241 100644 --- a/assets/resources/gui/element/talents.prefab +++ b/assets/resources/gui/element/talents.prefab @@ -22,34 +22,43 @@ "__id__": 2 }, { - "__id__": 8 + "__id__": 10 }, { - "__id__": 46 + "__id__": 16 }, { - "__id__": 52 + "__id__": 54 + }, + { + "__id__": 62 + }, + { + "__id__": 80 + }, + { + "__id__": 86 } ], "_active": true, "_components": [ { - "__id__": 84 + "__id__": 97 }, { - "__id__": 86 + "__id__": 99 }, { - "__id__": 88 + "__id__": 101 } ], "_prefab": { - "__id__": 90 + "__id__": 103 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 100, + "y": 0, "z": 0 }, "_lrot": { @@ -77,7 +86,7 @@ }, { "__type__": "cc.Node", - "_name": "title", + "_name": "bg", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -91,15 +100,18 @@ }, { "__id__": 5 + }, + { + "__id__": 7 } ], "_prefab": { - "__id__": 7 + "__id__": 9 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 465, + "y": 0, "z": 0 }, "_lrot": { @@ -137,6 +149,181 @@ "__prefab": { "__id__": 4 }, + "_contentSize": { + "__type__": "cc.Size", + "width": 730, + "height": 1290 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a3Wgh2fk5Ee5Bwn+uNg5b+" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "d7d869bc-06aa-4876-806f-487e68b96780@40168", + "__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__": "d7d869bc-06aa-4876-806f-487e68b96780", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b06V1hSRhONremldOiS0la" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 8 + }, + "_alignFlags": 45, + "_target": null, + "_left": -5, + "_right": -5, + "_top": -5, + "_bottom": -5, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 428, + "_originalHeight": 274, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6fH3V0DsRLsaQbeOr9Yzjr" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a2J/XDSAFO27k6w8fnSKa1", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 11 + }, + { + "__id__": 13 + } + ], + "_prefab": { + "__id__": 15 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 565, + "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__": 10 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, "_contentSize": { "__type__": "cc.Size", "width": 720, @@ -159,11 +346,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2 + "__id__": 10 }, "_enabled": true, "__prefab": { - "__id__": 6 + "__id__": 14 }, "_alignFlags": 41, "_target": null, @@ -212,34 +399,34 @@ }, "_children": [ { - "__id__": 9 + "__id__": 17 }, { - "__id__": 15 + "__id__": 23 }, { - "__id__": 29 - }, - { - "__id__": 35 - } - ], - "_active": true, - "_components": [ - { - "__id__": 41 + "__id__": 37 }, { "__id__": 43 } ], + "_active": true, + "_components": [ + { + "__id__": 49 + }, + { + "__id__": 51 + } + ], "_prefab": { - "__id__": 45 + "__id__": 53 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 330, + "y": 430, "z": 0 }, "_lrot": { @@ -271,20 +458,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 8 + "__id__": 16 }, "_children": [], "_active": true, "_components": [ { - "__id__": 10 + "__id__": 18 }, { - "__id__": 12 + "__id__": 20 } ], "_prefab": { - "__id__": 14 + "__id__": 22 }, "_lpos": { "__type__": "cc.Vec3", @@ -321,11 +508,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 9 + "__id__": 17 }, "_enabled": true, "__prefab": { - "__id__": 11 + "__id__": 19 }, "_contentSize": { "__type__": "cc.Size", @@ -349,11 +536,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 9 + "__id__": 17 }, "_enabled": true, "__prefab": { - "__id__": 13 + "__id__": 21 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -430,27 +617,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 8 + "__id__": 16 }, "_children": [ { - "__id__": 16 + "__id__": 24 } ], "_active": true, "_components": [ { - "__id__": 22 + "__id__": 30 }, { - "__id__": 24 + "__id__": 32 }, { - "__id__": 26 + "__id__": 34 } ], "_prefab": { - "__id__": 28 + "__id__": 36 }, "_lpos": { "__type__": "cc.Vec3", @@ -487,20 +674,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 15 + "__id__": 23 }, "_children": [], "_active": true, "_components": [ { - "__id__": 17 + "__id__": 25 }, { - "__id__": 19 + "__id__": 27 } ], "_prefab": { - "__id__": 21 + "__id__": 29 }, "_lpos": { "__type__": "cc.Vec3", @@ -537,11 +724,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 16 + "__id__": 24 }, "_enabled": true, "__prefab": { - "__id__": 18 + "__id__": 26 }, "_contentSize": { "__type__": "cc.Size", @@ -565,11 +752,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 16 + "__id__": 24 }, "_enabled": true, "__prefab": { - "__id__": 20 + "__id__": 28 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -623,11 +810,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 15 + "__id__": 23 }, "_enabled": true, "__prefab": { - "__id__": 23 + "__id__": 31 }, "_contentSize": { "__type__": "cc.Size", @@ -651,11 +838,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 15 + "__id__": 23 }, "_enabled": true, "__prefab": { - "__id__": 25 + "__id__": 33 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -696,14 +883,14 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 15 + "__id__": 23 }, "_enabled": true, "__prefab": { - "__id__": 27 + "__id__": 35 }, "_barSprite": { - "__id__": 19 + "__id__": 27 }, "_mode": 0, "_totalLength": 300, @@ -734,20 +921,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 8 + "__id__": 16 }, "_children": [], "_active": true, "_components": [ { - "__id__": 30 + "__id__": 38 }, { - "__id__": 32 + "__id__": 40 } ], "_prefab": { - "__id__": 34 + "__id__": 42 }, "_lpos": { "__type__": "cc.Vec3", @@ -784,11 +971,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 29 + "__id__": 37 }, "_enabled": true, "__prefab": { - "__id__": 31 + "__id__": 39 }, "_contentSize": { "__type__": "cc.Size", @@ -812,11 +999,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 29 + "__id__": 37 }, "_enabled": true, "__prefab": { - "__id__": 33 + "__id__": 41 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -883,6 +1070,8 @@ "__id__": 0 }, "fileId": "8b/mp33ApKG5QX+Pz8UDoF", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -891,20 +1080,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 8 + "__id__": 16 }, "_children": [], "_active": true, "_components": [ { - "__id__": 36 + "__id__": 44 }, { - "__id__": 38 + "__id__": 46 } ], "_prefab": { - "__id__": 40 + "__id__": 48 }, "_lpos": { "__type__": "cc.Vec3", @@ -941,11 +1130,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 35 + "__id__": 43 }, "_enabled": true, "__prefab": { - "__id__": 37 + "__id__": 45 }, "_contentSize": { "__type__": "cc.Size", @@ -969,11 +1158,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 35 + "__id__": 43 }, "_enabled": true, "__prefab": { - "__id__": 39 + "__id__": 47 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1050,11 +1239,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 8 + "__id__": 16 }, "_enabled": true, "__prefab": { - "__id__": 42 + "__id__": 50 }, "_contentSize": { "__type__": "cc.Size", @@ -1078,11 +1267,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 8 + "__id__": 16 }, "_enabled": true, "__prefab": { - "__id__": 44 + "__id__": 52 }, "_alignFlags": 41, "_target": null, @@ -1133,14 +1322,17 @@ "_active": true, "_components": [ { - "__id__": 47 + "__id__": 55 }, { - "__id__": 49 + "__id__": 57 + }, + { + "__id__": 59 } ], "_prefab": { - "__id__": 51 + "__id__": 61 }, "_lpos": { "__type__": "cc.Vec3", @@ -1171,244 +1363,6 @@ }, "_id": "" }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 46 - }, - "_enabled": true, - "__prefab": { - "__id__": 48 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 660, - "height": 610 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e8bRLkEuNOt5FrarUf2kYD" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 46 - }, - "_enabled": true, - "__prefab": { - "__id__": 50 - }, - "_alignFlags": 45, - "_target": null, - "_left": 30, - "_right": 30, - "_top": 370, - "_bottom": 100, - "_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": "09GKJGtAZGu7qePqzOb1eE" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "0fx1XcUHlLKr05lvsTZcUJ", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "bar", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 53 - }, - { - "__id__": 67 - } - ], - "_active": true, - "_components": [ - { - "__id__": 81 - } - ], - "_prefab": { - "__id__": 83 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -162.606, - "y": -641.604, - "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": "btn_reset", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 52 - }, - "_children": [ - { - "__id__": 54 - } - ], - "_active": true, - "_components": [ - { - "__id__": 60 - }, - { - "__id__": 62 - }, - { - "__id__": 64 - } - ], - "_prefab": { - "__id__": 66 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 164.063, - "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": "Label", - "_objFlags": 512, - "__editorExtras__": {}, - "_parent": { - "__id__": 53 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 55 - }, - { - "__id__": 57 - } - ], - "_prefab": { - "__id__": 59 - }, - "_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": "", @@ -1421,6 +1375,279 @@ "__prefab": { "__id__": 56 }, + "_contentSize": { + "__type__": "cc.Size", + "width": 660, + "height": 810 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e8bRLkEuNOt5FrarUf2kYD" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 54 + }, + "_enabled": true, + "__prefab": { + "__id__": 58 + }, + "_alignFlags": 45, + "_target": null, + "_left": 30, + "_right": 30, + "_top": 370, + "_bottom": 100, + "_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": "09GKJGtAZGu7qePqzOb1eE" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 54 + }, + "_enabled": true, + "__prefab": { + "__id__": 60 + }, + "_resizeMode": 0, + "_layoutType": 2, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 0, + "_spacingY": 5, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8abDkyqelPN78w6kj4Nrpa" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0fx1XcUHlLKr05lvsTZcUJ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "bar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 63 + } + ], + "_active": true, + "_components": [ + { + "__id__": 77 + } + ], + "_prefab": { + "__id__": 79 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -162.606, + "y": -641.604, + "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": "btn_reset", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 62 + }, + "_children": [ + { + "__id__": 64 + } + ], + "_active": true, + "_components": [ + { + "__id__": 70 + }, + { + "__id__": 72 + }, + { + "__id__": 74 + } + ], + "_prefab": { + "__id__": 76 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 432.81, + "y": 1102.177, + "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": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 63 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 65 + }, + { + "__id__": 67 + } + ], + "_prefab": { + "__id__": 69 + }, + "_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__": 64 + }, + "_enabled": true, + "__prefab": { + "__id__": 66 + }, "_contentSize": { "__type__": "cc.Size", "width": 100, @@ -1443,11 +1670,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 54 + "__id__": 64 }, "_enabled": true, "__prefab": { - "__id__": 58 + "__id__": 68 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1524,11 +1751,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 53 + "__id__": 63 }, "_enabled": true, "__prefab": { - "__id__": 61 + "__id__": 71 }, "_contentSize": { "__type__": "cc.Size", @@ -1552,11 +1779,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 53 + "__id__": 63 }, "_enabled": true, "__prefab": { - "__id__": 63 + "__id__": 73 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1597,11 +1824,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 53 + "__id__": 63 }, "_enabled": true, "__prefab": { - "__id__": 65 + "__id__": 75 }, "clickEvents": [], "_interactable": true, @@ -1653,7 +1880,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 53 + "__id__": 63 }, "_id": "" }, @@ -1674,389 +1901,17 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.Node", - "_name": "btn_close", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 52 - }, - "_children": [ - { - "__id__": 68 - } - ], - "_active": true, - "_components": [ - { - "__id__": 74 - }, - { - "__id__": 76 - }, - { - "__id__": 78 - } - ], - "_prefab": { - "__id__": 80 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 340.408, - "y": 165.639, - "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": "Label", - "_objFlags": 512, - "__editorExtras__": {}, - "_parent": { - "__id__": 67 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 69 - }, - { - "__id__": 71 - } - ], - "_prefab": { - "__id__": 73 - }, - "_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__": 68 + "__id__": 62 }, "_enabled": true, "__prefab": { - "__id__": 70 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "9evgBaQANDQaIKf/niOW1Y" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 68 - }, - "_enabled": true, - "__prefab": { - "__id__": 72 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "button", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 1, - "_enableWrapText": false, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": false, - "_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": "19GyPspSJM6ZMR9NmFEzCs" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "beyLJIFRVNiabpbld7Yv3r", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 67 - }, - "_enabled": true, - "__prefab": { - "__id__": 75 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "46xMahV9JOmofHbeWY5fkI" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 67 - }, - "_enabled": true, - "__prefab": { - "__id__": 77 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", - "__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": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "67YAkhyMRHz480nqrMIxJ5" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 67 - }, - "_enabled": true, - "__prefab": { - "__id__": 79 - }, - "clickEvents": [], - "_interactable": true, - "_transition": 2, - "_normalColor": { - "__type__": "cc.Color", - "r": 214, - "g": 214, - "b": 214, - "a": 255 - }, - "_hoverColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "_pressedColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_disabledColor": { - "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 - }, - "_normalSprite": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_hoverSprite": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_pressedSprite": { - "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_disabledSprite": { - "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_duration": 0.1, - "_zoomScale": 1.2, - "_target": { - "__id__": 67 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "30px0kLktK/plcH7sWI2L+" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "f1P71vSFFGZJeOtVLWtUeO", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 52 - }, - "_enabled": true, - "__prefab": { - "__id__": 82 + "__id__": 78 }, "_contentSize": { "__type__": "cc.Size", @@ -2087,6 +1942,390 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "Rounded Rectangle 2402", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 81 + }, + { + "__id__": 83 + } + ], + "_prefab": { + "__id__": 85 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -595.258, + "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__": 80 + }, + "_enabled": true, + "__prefab": { + "__id__": 82 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b9MlKZrd9DN5/KivA7AFVQ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 80 + }, + "_enabled": true, + "__prefab": { + "__id__": 84 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@bc0ca", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "eaqDpRpohNVLSjcQy1548b" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "deKImVcWVAQY7lNVufOK1Q", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "top_btn_back", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 87 + }, + { + "__id__": 89 + }, + { + "__id__": 91 + }, + { + "__id__": 94 + } + ], + "_prefab": { + "__id__": 96 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -298.4, + "y": -559, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.8, + "y": 0.8, + "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__": 86 + }, + "_enabled": true, + "__prefab": { + "__id__": 88 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 179, + "height": 140 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "33gaSJevxMBLMUaAUYMzyA" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 86 + }, + "_enabled": true, + "__prefab": { + "__id__": 90 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@c874e", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b39n91H8lNCISsMLUJIfW+" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 86 + }, + "_enabled": true, + "__prefab": { + "__id__": 92 + }, + "clickEvents": [ + { + "__id__": 93 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 86 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "45OmfoVU1CXYZrbp+Lu9pV" + }, + { + "__type__": "cc.ClickEvent", + "target": null, + "component": "", + "_componentId": "9eafef++95DEqB78hMPCmU5", + "handler": "closeRanks", + "customEventData": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 86 + }, + "_enabled": true, + "__prefab": { + "__id__": 95 + }, + "_alignFlags": 12, + "_target": null, + "_left": -10, + "_right": 0, + "_top": 0, + "_bottom": 25, + "_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": "1aTgPIYclN/LWnJgXMSSyF" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c4Ci0VJIxBtoPw2g5ywGTP", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -2097,12 +2336,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 85 + "__id__": 98 }, "_contentSize": { "__type__": "cc.Size", "width": 720, - "height": 1080 + "height": 1280 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2125,14 +2364,14 @@ }, "_enabled": true, "__prefab": { - "__id__": 87 + "__id__": 100 }, "_alignFlags": 45, "_target": null, "_left": 0, "_right": 0, "_top": 0, - "_bottom": 200, + "_bottom": 0, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -2161,35 +2400,35 @@ }, "_enabled": true, "__prefab": { - "__id__": 89 + "__id__": 102 }, "title_node": { - "__id__": 2 + "__id__": 10 }, "lbl_level": { - "__id__": 12 + "__id__": 20 }, "lbl_exp": { - "__id__": 32 + "__id__": 40 }, "pb_exp": { - "__id__": 26 + "__id__": 34 }, "lbl_points": { - "__id__": 38 + "__id__": 46 }, "talents_content": { - "__id__": 46 + "__id__": 54 }, "prefab_talent_item": { "__uuid__": "a0cdb31c-0abb-4e12-9dfe-0bd9e8cd7272", "__expectedType__": "cc.Prefab" }, "btn_reset": { - "__id__": 64 + "__id__": 74 }, "btn_close": { - "__id__": 78 + "__id__": 91 }, "_id": "" }, diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index af5d4391..8cc46134 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -25,26 +25,26 @@ "__id__": 916 }, { - "__id__": 1133 + "__id__": 1180 }, { - "__id__": 1142 + "__id__": 1189 } ], "_active": true, "_components": [ { - "__id__": 1188 + "__id__": 1235 }, { - "__id__": 1190 + "__id__": 1237 }, { - "__id__": 1192 + "__id__": 1239 } ], "_prefab": { - "__id__": 1194 + "__id__": 1241 }, "_lpos": { "__type__": "cc.Vec3", @@ -19115,23 +19115,23 @@ "__id__": 925 }, { - "__id__": 1109 + "__id__": 1156 } ], "_active": true, "_components": [ { - "__id__": 1126 + "__id__": 1173 }, { - "__id__": 1128 + "__id__": 1175 }, { - "__id__": 1130 + "__id__": 1177 } ], "_prefab": { - "__id__": 1132 + "__id__": 1179 }, "_lpos": { "__type__": "cc.Vec3", @@ -19360,22 +19360,25 @@ }, { "__id__": 1055 + }, + { + "__id__": 1102 } ], "_active": true, "_components": [ { - "__id__": 1102 + "__id__": 1149 }, { - "__id__": 1104 + "__id__": 1151 }, { - "__id__": 1106 + "__id__": 1153 } ], "_prefab": { - "__id__": 1108 + "__id__": 1155 }, "_lpos": { "__type__": "cc.Vec3", @@ -21359,7 +21362,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -150, + "x": -200, "y": 16.52, "z": 0 }, @@ -22484,7 +22487,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 150, + "x": 0, "y": 16.52, "z": 0 }, @@ -23573,6 +23576,1131 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "talents", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 925 + }, + "_children": [ + { + "__id__": 1103 + }, + { + "__id__": 1111 + }, + { + "__id__": 1131 + } + ], + "_active": true, + "_components": [ + { + "__id__": 1143 + }, + { + "__id__": 1145 + } + ], + "_prefab": { + "__id__": 1148 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 200, + "y": 16.52, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2, + "y": 2, + "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__": 1102 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 1104 + }, + { + "__id__": 1106 + }, + { + "__id__": 1108 + } + ], + "_prefab": { + "__id__": 1110 + }, + "_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__": 1103 + }, + "_enabled": true, + "__prefab": { + "__id__": 1105 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 240, + "height": 110 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a4IRzg5wlIxa8/JemptjIN" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1103 + }, + "_enabled": true, + "__prefab": { + "__id__": 1107 + }, + "_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@65cbe", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "53fsDq4xFMnIPMhh5Pz8qD" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1103 + }, + "_enabled": true, + "__prefab": { + "__id__": 1109 + }, + "_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": 144, + "_originalHeight": 120, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b4/aqD9Z1Dmbpp+8RzGEZy" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "bcB82LglBMdLoNMQeZxx9q", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "active", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1102 + }, + "_children": [ + { + "__id__": 1112 + }, + { + "__id__": 1118 + } + ], + "_active": false, + "_components": [ + { + "__id__": 1124 + }, + { + "__id__": 1126 + }, + { + "__id__": 1128 + } + ], + "_prefab": { + "__id__": 1130 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 10, + "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": "icon", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1111 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1113 + }, + { + "__id__": 1115 + } + ], + "_prefab": { + "__id__": 1117 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 15, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.6, + "y": 0.6, + "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__": 1112 + }, + "_enabled": true, + "__prefab": { + "__id__": 1114 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 118, + "height": 86 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dcqdiClblLd4qeNYDdMjsS" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1112 + }, + "_enabled": true, + "__prefab": { + "__id__": 1116 + }, + "_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@6ee70", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "14hQYWNYJChbcq1+UhUPh3" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a74x8UtItJlLyeaFlWgV7o", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1111 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1119 + }, + { + "__id__": 1121 + } + ], + "_prefab": { + "__id__": 1123 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -30, + "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__": 1118 + }, + "_enabled": true, + "__prefab": { + "__id__": 1120 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 94, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "462LL+L8BLjabsp+uCw+CI" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1118 + }, + "_enabled": true, + "__prefab": { + "__id__": 1122 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "排行榜", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 30, + "_fontSize": 30, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_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": "14Uw5kRjlB9ak+P/uzQwlc" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2clxsai7pC4Yo73NI3ikaN", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1111 + }, + "_enabled": true, + "__prefab": { + "__id__": 1125 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 240, + "height": 130 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "98MCr2zTNNz5AqOHr9Ou5r" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1111 + }, + "_enabled": true, + "__prefab": { + "__id__": 1127 + }, + "_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@7eac7", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a3S0DAjVNIoqIAUF2fYDDA" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1111 + }, + "_enabled": true, + "__prefab": { + "__id__": 1129 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": -20, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 144, + "_originalHeight": 107, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c7azDjKE9PeL/8xjh64LbR" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2aG4GUVWNO57XQcN+3HQA4", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "icon", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1102 + }, + "_children": [ + { + "__id__": 1132 + } + ], + "_active": true, + "_components": [ + { + "__id__": 1138 + }, + { + "__id__": 1140 + } + ], + "_prefab": { + "__id__": 1142 + }, + "_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": 0.7, + "y": 0.7, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1131 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1133 + }, + { + "__id__": 1135 + } + ], + "_prefab": { + "__id__": 1137 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -38, + "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__": 1132 + }, + "_enabled": true, + "__prefab": { + "__id__": 1134 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 64, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "548UaZibBCi6oeKI14AIok" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1132 + }, + "_enabled": true, + "__prefab": { + "__id__": 1136 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "天赋", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 30, + "_fontSize": 30, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_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": "fdN6Qbp0xOlaXACqq+wnDh" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "eeVJ0To5xP0Y6jberSXUCI", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1131 + }, + "_enabled": true, + "__prefab": { + "__id__": 1139 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 118.1, + "height": 86 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a4VFpqBJZIdJ2i6ivRWWYU" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1131 + }, + "_enabled": true, + "__prefab": { + "__id__": 1141 + }, + "_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@ab734", + "__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": "9aP7TAp9dJqqDYNwqfpIdE" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "98mdgLD/9F75vGVR2nbsKW", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1102 + }, + "_enabled": true, + "__prefab": { + "__id__": 1144 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 110 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d2oO+dEPhIV5YqRnVbx9Oo" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1102 + }, + "_enabled": true, + "__prefab": { + "__id__": 1146 + }, + "clickEvents": [ + { + "__id__": 1147 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "28Bopx3CBD0Jerd7h9ysVU" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 916 + }, + "component": "", + "_componentId": "11498TbVJpO6qmZ8m9k55Zx", + "handler": "openTalents", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3fIrfb+S9JH4bu2Wjtba3m", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -23583,11 +24711,11 @@ }, "_enabled": true, "__prefab": { - "__id__": 1103 + "__id__": 1150 }, "_contentSize": { "__type__": "cc.Size", - "width": 400, + "width": 500, "height": 200 }, "_anchorPoint": { @@ -23611,12 +24739,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 1105 + "__id__": 1152 }, "_alignFlags": 44, "_target": null, - "_left": 160, - "_right": 160, + "_left": 110, + "_right": 110, "_top": 0, "_bottom": 1.686000000000007, "_horizontalCenter": 0, @@ -23647,7 +24775,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1107 + "__id__": 1154 }, "_resizeMode": 1, "_layoutType": 1, @@ -23661,7 +24789,7 @@ "_paddingRight": 0, "_paddingTop": 0, "_paddingBottom": 0, - "_spacingX": 200, + "_spacingX": 100, "_spacingY": 0, "_verticalDirection": 1, "_horizontalDirection": 0, @@ -23698,23 +24826,23 @@ }, "_children": [ { - "__id__": 1110 + "__id__": 1157 } ], "_active": true, "_components": [ { - "__id__": 1118 + "__id__": 1165 }, { - "__id__": 1120 + "__id__": 1167 }, { - "__id__": 1123 + "__id__": 1170 } ], "_prefab": { - "__id__": 1125 + "__id__": 1172 }, "_lpos": { "__type__": "cc.Vec3", @@ -23751,23 +24879,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1109 + "__id__": 1156 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1111 + "__id__": 1158 }, { - "__id__": 1113 + "__id__": 1160 }, { - "__id__": 1115 + "__id__": 1162 } ], "_prefab": { - "__id__": 1117 + "__id__": 1164 }, "_lpos": { "__type__": "cc.Vec3", @@ -23804,11 +24932,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1110 + "__id__": 1157 }, "_enabled": true, "__prefab": { - "__id__": 1112 + "__id__": 1159 }, "_contentSize": { "__type__": "cc.Size", @@ -23832,11 +24960,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1110 + "__id__": 1157 }, "_enabled": true, "__prefab": { - "__id__": 1114 + "__id__": 1161 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -23880,11 +25008,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1110 + "__id__": 1157 }, "_enabled": true, "__prefab": { - "__id__": 1116 + "__id__": 1163 }, "_alignFlags": 45, "_target": null, @@ -23929,11 +25057,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1109 + "__id__": 1156 }, "_enabled": true, "__prefab": { - "__id__": 1119 + "__id__": 1166 }, "_contentSize": { "__type__": "cc.Size", @@ -23957,15 +25085,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1109 + "__id__": 1156 }, "_enabled": true, "__prefab": { - "__id__": 1121 + "__id__": 1168 }, "clickEvents": [ { - "__id__": 1122 + "__id__": 1169 } ], "_interactable": true, @@ -24027,11 +25155,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1109 + "__id__": 1156 }, "_enabled": true, "__prefab": { - "__id__": 1124 + "__id__": 1171 }, "_alignFlags": 4, "_target": null, @@ -24080,7 +25208,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1127 + "__id__": 1174 }, "_contentSize": { "__type__": "cc.Size", @@ -24108,7 +25236,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1129 + "__id__": 1176 }, "_alignFlags": 21, "_target": null, @@ -24144,7 +25272,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1131 + "__id__": 1178 }, "home_btn": { "__id__": 967 @@ -24181,14 +25309,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 1134 + "__id__": 1181 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 1133 + "__id__": 1180 }, "asset": { "__uuid__": "26bff847-cd29-48a5-bbfa-c3e2dbda688d", @@ -24196,7 +25324,7 @@ }, "fileId": "5a9CMsVQhKP5Y+UJfTKPbx", "instance": { - "__id__": 1135 + "__id__": 1182 }, "targetOverrides": null }, @@ -24210,19 +25338,19 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 1136 + "__id__": 1183 }, { - "__id__": 1138 + "__id__": 1185 }, { - "__id__": 1139 + "__id__": 1186 }, { - "__id__": 1140 + "__id__": 1187 }, { - "__id__": 1141 + "__id__": 1188 } ], "removedComponents": [] @@ -24230,7 +25358,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 1137 + "__id__": 1184 }, "propertyPath": [ "_name" @@ -24246,7 +25374,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 1137 + "__id__": 1184 }, "propertyPath": [ "_lpos" @@ -24261,7 +25389,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 1137 + "__id__": 1184 }, "propertyPath": [ "_lrot" @@ -24277,7 +25405,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 1137 + "__id__": 1184 }, "propertyPath": [ "_euler" @@ -24292,7 +25420,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 1137 + "__id__": 1184 }, "propertyPath": [ "_active" @@ -24309,23 +25437,23 @@ }, "_children": [ { - "__id__": 1143 + "__id__": 1190 } ], "_active": false, "_components": [ { - "__id__": 1181 + "__id__": 1228 }, { - "__id__": 1183 + "__id__": 1230 }, { - "__id__": 1185 + "__id__": 1232 } ], "_prefab": { - "__id__": 1187 + "__id__": 1234 }, "_lpos": { "__type__": "cc.Vec3", @@ -24362,30 +25490,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1142 + "__id__": 1189 }, "_children": [ { - "__id__": 1144 + "__id__": 1191 } ], "_active": true, "_components": [ { - "__id__": 1172 + "__id__": 1219 }, { - "__id__": 1174 + "__id__": 1221 }, { - "__id__": 1176 + "__id__": 1223 }, { - "__id__": 1178 + "__id__": 1225 } ], "_prefab": { - "__id__": 1180 + "__id__": 1227 }, "_lpos": { "__type__": "cc.Vec3", @@ -24422,27 +25550,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1143 + "__id__": 1190 }, "_children": [ { - "__id__": 1145 + "__id__": 1192 }, { - "__id__": 1153 + "__id__": 1200 }, { - "__id__": 1159 + "__id__": 1206 } ], "_active": true, "_components": [ { - "__id__": 1169 + "__id__": 1216 } ], "_prefab": { - "__id__": 1171 + "__id__": 1218 }, "_lpos": { "__type__": "cc.Vec3", @@ -24479,23 +25607,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1144 + "__id__": 1191 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1146 + "__id__": 1193 }, { - "__id__": 1148 + "__id__": 1195 }, { - "__id__": 1150 + "__id__": 1197 } ], "_prefab": { - "__id__": 1152 + "__id__": 1199 }, "_lpos": { "__type__": "cc.Vec3", @@ -24532,11 +25660,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1145 + "__id__": 1192 }, "_enabled": true, "__prefab": { - "__id__": 1147 + "__id__": 1194 }, "_contentSize": { "__type__": "cc.Size", @@ -24560,11 +25688,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1145 + "__id__": 1192 }, "_enabled": true, "__prefab": { - "__id__": 1149 + "__id__": 1196 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -24608,11 +25736,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1145 + "__id__": 1192 }, "_enabled": true, "__prefab": { - "__id__": 1151 + "__id__": 1198 }, "_alignFlags": 40, "_target": null, @@ -24657,20 +25785,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1144 + "__id__": 1191 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1154 + "__id__": 1201 }, { - "__id__": 1156 + "__id__": 1203 } ], "_prefab": { - "__id__": 1158 + "__id__": 1205 }, "_lpos": { "__type__": "cc.Vec3", @@ -24707,11 +25835,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1153 + "__id__": 1200 }, "_enabled": true, "__prefab": { - "__id__": 1155 + "__id__": 1202 }, "_contentSize": { "__type__": "cc.Size", @@ -24735,11 +25863,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1153 + "__id__": 1200 }, "_enabled": true, "__prefab": { - "__id__": 1157 + "__id__": 1204 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -24796,26 +25924,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1144 + "__id__": 1191 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1160 + "__id__": 1207 }, { - "__id__": 1162 + "__id__": 1209 }, { - "__id__": 1164 + "__id__": 1211 }, { - "__id__": 1166 + "__id__": 1213 } ], "_prefab": { - "__id__": 1168 + "__id__": 1215 }, "_lpos": { "__type__": "cc.Vec3", @@ -24852,11 +25980,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1159 + "__id__": 1206 }, "_enabled": true, "__prefab": { - "__id__": 1161 + "__id__": 1208 }, "_contentSize": { "__type__": "cc.Size", @@ -24880,11 +26008,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1159 + "__id__": 1206 }, "_enabled": true, "__prefab": { - "__id__": 1163 + "__id__": 1210 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -24948,11 +26076,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1159 + "__id__": 1206 }, "_enabled": true, "__prefab": { - "__id__": 1165 + "__id__": 1212 }, "_alignFlags": 10, "_target": null, @@ -24984,11 +26112,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1159 + "__id__": 1206 }, "_enabled": true, "__prefab": { - "__id__": 1167 + "__id__": 1214 }, "templateMode": true, "watchPath": "data.data.gold", @@ -25021,11 +26149,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1144 + "__id__": 1191 }, "_enabled": true, "__prefab": { - "__id__": 1170 + "__id__": 1217 }, "_contentSize": { "__type__": "cc.Size", @@ -25062,11 +26190,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1143 + "__id__": 1190 }, "_enabled": true, "__prefab": { - "__id__": 1173 + "__id__": 1220 }, "_contentSize": { "__type__": "cc.Size", @@ -25090,11 +26218,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1143 + "__id__": 1190 }, "_enabled": true, "__prefab": { - "__id__": 1175 + "__id__": 1222 }, "_alignFlags": 8, "_target": null, @@ -25126,11 +26254,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1143 + "__id__": 1190 }, "_enabled": true, "__prefab": { - "__id__": 1177 + "__id__": 1224 }, "_resizeMode": 0, "_layoutType": 1, @@ -25164,11 +26292,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1143 + "__id__": 1190 }, "_enabled": true, "__prefab": { - "__id__": 1179 + "__id__": 1226 }, "_alignFlags": 40, "_target": null, @@ -25213,11 +26341,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1142 + "__id__": 1189 }, "_enabled": true, "__prefab": { - "__id__": 1182 + "__id__": 1229 }, "_contentSize": { "__type__": "cc.Size", @@ -25241,11 +26369,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1142 + "__id__": 1189 }, "_enabled": true, "__prefab": { - "__id__": 1184 + "__id__": 1231 }, "_alignFlags": 17, "_target": null, @@ -25277,11 +26405,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1142 + "__id__": 1189 }, "_enabled": true, "__prefab": { - "__id__": 1186 + "__id__": 1233 }, "_id": "" }, @@ -25312,7 +26440,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1189 + "__id__": 1236 }, "_contentSize": { "__type__": "cc.Size", @@ -25340,7 +26468,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1191 + "__id__": 1238 }, "_alignFlags": 45, "_target": null, @@ -25376,7 +26504,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1193 + "__id__": 1240 }, "debugMode": false, "_id": "" @@ -25398,7 +26526,7 @@ "targetOverrides": [], "nestedPrefabInstanceRoots": [ { - "__id__": 1133 + "__id__": 1180 }, { "__id__": 805 diff --git a/assets/script/game/map/MissionHomeComp.ts b/assets/script/game/map/MissionHomeComp.ts index 51fcbd43..e5510f7e 100644 --- a/assets/script/game/map/MissionHomeComp.ts +++ b/assets/script/game/map/MissionHomeComp.ts @@ -86,6 +86,9 @@ export class MissionHomeComp extends CCComp { openHero(){ oops.gui.open(UIID.Heros) } + openTalents(){ + oops.gui.open(UIID.Talents) + } /** 任务结束回调:重新显示主页 */ mission_end(){ mLogger.log(this.debugMode, 'MissionHomeComp', "[MissionHomeComp]=>mission_end")