diff --git a/assets/resources/gui/element/heros.prefab b/assets/resources/gui/element/heros.prefab index 79b5668f..bac70d85 100644 --- a/assets/resources/gui/element/heros.prefab +++ b/assets/resources/gui/element/heros.prefab @@ -66,18 +66,18 @@ ], "_active": true, "_components": [ - { - "__id__": 343 - }, { "__id__": 345 }, { "__id__": 347 + }, + { + "__id__": 349 } ], "_prefab": { - "__id__": 349 + "__id__": 351 }, "_lpos": { "__type__": "cc.Vec3", @@ -7782,15 +7782,18 @@ }, { "__id__": 339 + }, + { + "__id__": 342 } ], "_prefab": { - "__id__": 342 + "__id__": 344 }, "_lpos": { "__type__": "cc.Vec3", - "x": -283.044, - "y": -557.014, + "x": -307.35, + "y": -566, "z": 0 }, "_lrot": { @@ -7802,8 +7805,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.8, + "y": 0.8, "z": 1 }, "_mobility": 0, @@ -7959,6 +7962,42 @@ "handler": "closeHeros", "customEventData": "" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 334 + }, + "_enabled": true, + "__prefab": { + "__id__": 343 + }, + "_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": "a7uiV9n8lKp5cOeXiR+A4U" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -7982,7 +8021,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 344 + "__id__": 346 }, "_contentSize": { "__type__": "cc.Size", @@ -8010,7 +8049,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 346 + "__id__": 348 }, "_alignFlags": 45, "_target": null, @@ -8046,7 +8085,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 348 + "__id__": 350 }, "hero_icon": { "__id__": 30 diff --git a/assets/resources/gui/element/ranks.prefab b/assets/resources/gui/element/ranks.prefab index 7deed486..429a3141 100644 --- a/assets/resources/gui/element/ranks.prefab +++ b/assets/resources/gui/element/ranks.prefab @@ -37,17 +37,17 @@ "_active": true, "_components": [ { - "__id__": 183 + "__id__": 177 }, { - "__id__": 185 + "__id__": 179 }, { - "__id__": 187 + "__id__": 181 } ], "_prefab": { - "__id__": 189 + "__id__": 183 }, "_lpos": { "__type__": "cc.Vec3", @@ -105,7 +105,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 55, + "y": 0, "z": 0 }, "_lrot": { @@ -145,8 +145,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 720, - "height": 1170 + "width": 730, + "height": 1290 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -182,7 +182,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@46c83", + "__uuid__": "d7d869bc-06aa-4876-806f-487e68b96780@1e2d6", "__expectedType__": "cc.SpriteFrame" }, "_type": 1, @@ -198,7 +198,7 @@ "_isTrimmedMode": true, "_useGrayscale": false, "_atlas": { - "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__uuid__": "d7d869bc-06aa-4876-806f-487e68b96780", "__expectedType__": "cc.SpriteAtlas" }, "_id": "" @@ -221,10 +221,10 @@ }, "_alignFlags": 45, "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 110, + "_left": -5, + "_right": -5, + "_top": -5, + "_bottom": -5, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -3835,89 +3835,35 @@ }, { "__type__": "cc.Node", - "_name": "bg_title", + "_name": "top_btn_back", "_objFlags": 0, "__editorExtras__": {}, "_parent": { "__id__": 1 }, - "_children": [ - { - "__id__": 167 - } - ], - "_active": true, - "_components": [ - { - "__id__": 176 - }, - { - "__id__": 178 - }, - { - "__id__": 180 - } - ], - "_prefab": { - "__id__": 182 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": -590.092, - "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": "arrow", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 166 - }, "_children": [], "_active": true, "_components": [ { - "__id__": 168 + "__id__": 167 }, { - "__id__": 170 + "__id__": 169 }, { - "__id__": 172 + "__id__": 171 + }, + { + "__id__": 174 } ], "_prefab": { - "__id__": 175 + "__id__": 176 }, "_lpos": { "__type__": "cc.Vec3", - "x": -287.278, - "y": -4.225, + "x": -298.4, + "y": -559, "z": 0 }, "_lrot": { @@ -3929,8 +3875,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1.9, - "y": 1.2, + "x": 0.8, + "y": 0.8, "z": 1 }, "_mobility": 0, @@ -3949,16 +3895,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 167 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 169 + "__id__": 168 }, "_contentSize": { "__type__": "cc.Size", - "width": 46, - "height": 76 + "width": 179, + "height": 140 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3969,7 +3915,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "3f8NdIlo9Nko0ZRXpoLG+C" + "fileId": "e5MSYRLPRGvaB6j6LMY0X4" }, { "__type__": "cc.Sprite", @@ -3977,24 +3923,24 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 167 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 171 + "__id__": 170 }, "_customMaterial": null, "_srcBlendFactor": 2, "_dstBlendFactor": 4, "_color": { "__type__": "cc.Color", - "r": 226, - "g": 238, + "r": 255, + "g": 255, "b": 255, "a": 255 }, "_spriteFrame": { - "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@95d3a", + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@c874e", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -4014,7 +3960,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "7d68k5bgtC2Ykasy8w3ODg" + "fileId": "daucmH7MZPZKwh5l1pGn+F" }, { "__type__": "cc.Button", @@ -4022,15 +3968,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 167 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 173 + "__id__": 172 }, "clickEvents": [ { - "__id__": 174 + "__id__": 173 } ], "_interactable": true, @@ -4069,12 +4015,14 @@ "_disabledSprite": null, "_duration": 0.1, "_zoomScale": 1.2, - "_target": null, + "_target": { + "__id__": 166 + }, "_id": "" }, { "__type__": "cc.CompPrefabInfo", - "fileId": "afCUCqD2FJ2ZfriNs8+Exg" + "fileId": "54bJI2sblNtK+3i9X1v9Bn" }, { "__type__": "cc.ClickEvent", @@ -4086,92 +4034,6 @@ "handler": "closeRanks", "customEventData": "" }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "7215cNR5tL/pl0phuIT/nF", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 166 - }, - "_enabled": true, - "__prefab": { - "__id__": 177 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 740, - "height": 150 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c1g554QL5GrJaexXtPZY+E" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 166 - }, - "_enabled": true, - "__prefab": { - "__id__": 179 - }, - "_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@98637", - "__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": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d0kTPKqZ1PzJou+mvzobUm" - }, { "__type__": "cc.Widget", "_name": "", @@ -4182,14 +4044,14 @@ }, "_enabled": true, "__prefab": { - "__id__": 181 + "__id__": 175 }, - "_alignFlags": 44, + "_alignFlags": 12, "_target": null, "_left": -10, - "_right": -10, + "_right": 0, "_top": 0, - "_bottom": -25.091999999999985, + "_bottom": 25, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -4198,7 +4060,7 @@ "_isAbsBottom": true, "_isAbsHorizontalCenter": true, "_isAbsVerticalCenter": true, - "_originalWidth": 540, + "_originalWidth": 0, "_originalHeight": 0, "_alignMode": 2, "_lockFlags": 0, @@ -4206,7 +4068,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "27yxJEidVPB4dVp5q14nCw" + "fileId": "1cV1psjb9AMJJN4Z6s7Q8d" }, { "__type__": "cc.PrefabInfo", @@ -4216,7 +4078,7 @@ "asset": { "__id__": 0 }, - "fileId": "eegITyZ2ZG3Lkeb+C//7n7", + "fileId": "06BErKXotFubogbEshIx4i", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4231,7 +4093,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 184 + "__id__": 178 }, "_contentSize": { "__type__": "cc.Size", @@ -4259,7 +4121,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 186 + "__id__": 180 }, "_alignFlags": 45, "_target": null, @@ -4295,7 +4157,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 188 + "__id__": 182 }, "top1_node": { "__id__": 47 diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index e71f750f..cd25c868 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -25,26 +25,26 @@ "__id__": 616 }, { - "__id__": 821 + "__id__": 833 }, { - "__id__": 830 + "__id__": 842 } ], "_active": true, "_components": [ { - "__id__": 876 + "__id__": 888 }, { - "__id__": 878 + "__id__": 890 }, { - "__id__": 880 + "__id__": 892 } ], "_prefab": { - "__id__": 882 + "__id__": 894 }, "_lpos": { "__type__": "cc.Vec3", @@ -12787,23 +12787,23 @@ "__id__": 625 }, { - "__id__": 797 + "__id__": 809 } ], "_active": true, "_components": [ { - "__id__": 814 + "__id__": 826 }, { - "__id__": 816 + "__id__": 828 }, { - "__id__": 818 + "__id__": 830 } ], "_prefab": { - "__id__": 820 + "__id__": 832 }, "_lpos": { "__type__": "cc.Vec3", @@ -13031,23 +13031,23 @@ "__id__": 708 }, { - "__id__": 749 + "__id__": 755 } ], "_active": true, "_components": [ { - "__id__": 790 + "__id__": 802 }, { - "__id__": 792 + "__id__": 804 }, { - "__id__": 794 + "__id__": 806 } ], "_prefab": { - "__id__": 796 + "__id__": 808 }, "_lpos": { "__type__": "cc.Vec3", @@ -15020,18 +15020,18 @@ "_active": true, "_components": [ { - "__id__": 743 + "__id__": 749 }, { - "__id__": 745 + "__id__": 751 } ], "_prefab": { - "__id__": 748 + "__id__": 754 }, "_lpos": { "__type__": "cc.Vec3", - "x": -120, + "x": -150, "y": 16.52, "z": 0 }, @@ -15718,18 +15718,22 @@ "_parent": { "__id__": 708 }, - "_children": [], + "_children": [ + { + "__id__": 738 + } + ], "_active": true, "_components": [ { - "__id__": 738 + "__id__": 744 }, { - "__id__": 740 + "__id__": 746 } ], "_prefab": { - "__id__": 742 + "__id__": 748 }, "_lpos": { "__type__": "cc.Vec3", @@ -15760,6 +15764,165 @@ }, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 737 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 739 + }, + { + "__id__": 741 + } + ], + "_prefab": { + "__id__": 743 + }, + "_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__": 738 + }, + "_enabled": true, + "__prefab": { + "__id__": 740 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 64, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "eb2vjxbFlGMIb34bYYYVUs" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 738 + }, + "_enabled": true, + "__prefab": { + "__id__": 742 + }, + "_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": "251UfC66xAqoFDCit2Belf" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "734A7fYwJEOrfNG5M+d2Po", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -15770,7 +15933,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 739 + "__id__": 745 }, "_contentSize": { "__type__": "cc.Size", @@ -15798,7 +15961,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 741 + "__id__": 747 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -15859,11 +16022,11 @@ }, "_enabled": true, "__prefab": { - "__id__": 744 + "__id__": 750 }, "_contentSize": { "__type__": "cc.Size", - "width": 240, + "width": 100, "height": 110 }, "_anchorPoint": { @@ -15887,11 +16050,11 @@ }, "_enabled": true, "__prefab": { - "__id__": 746 + "__id__": 752 }, "clickEvents": [ { - "__id__": 747 + "__id__": 753 } ], "_interactable": true, @@ -15970,30 +16133,30 @@ }, "_children": [ { - "__id__": 750 + "__id__": 756 }, { - "__id__": 758 + "__id__": 764 }, { - "__id__": 778 + "__id__": 784 } ], "_active": true, "_components": [ { - "__id__": 784 + "__id__": 796 }, { - "__id__": 786 + "__id__": 798 } ], "_prefab": { - "__id__": 789 + "__id__": 801 }, "_lpos": { "__type__": "cc.Vec3", - "x": 120, + "x": 150, "y": 16.52, "z": 0 }, @@ -16026,23 +16189,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 749 + "__id__": 755 }, "_children": [], "_active": false, "_components": [ { - "__id__": 751 + "__id__": 757 }, { - "__id__": 753 + "__id__": 759 }, { - "__id__": 755 + "__id__": 761 } ], "_prefab": { - "__id__": 757 + "__id__": 763 }, "_lpos": { "__type__": "cc.Vec3", @@ -16079,11 +16242,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 750 + "__id__": 756 }, "_enabled": true, "__prefab": { - "__id__": 752 + "__id__": 758 }, "_contentSize": { "__type__": "cc.Size", @@ -16107,11 +16270,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 750 + "__id__": 756 }, "_enabled": true, "__prefab": { - "__id__": 754 + "__id__": 760 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16152,11 +16315,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 750 + "__id__": 756 }, "_enabled": true, "__prefab": { - "__id__": 756 + "__id__": 762 }, "_alignFlags": 45, "_target": null, @@ -16201,30 +16364,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 749 + "__id__": 755 }, "_children": [ { - "__id__": 759 + "__id__": 765 }, { - "__id__": 765 + "__id__": 771 } ], "_active": false, "_components": [ { - "__id__": 771 + "__id__": 777 }, { - "__id__": 773 + "__id__": 779 }, { - "__id__": 775 + "__id__": 781 } ], "_prefab": { - "__id__": 777 + "__id__": 783 }, "_lpos": { "__type__": "cc.Vec3", @@ -16261,20 +16424,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 758 + "__id__": 764 }, "_children": [], "_active": true, "_components": [ { - "__id__": 760 + "__id__": 766 }, { - "__id__": 762 + "__id__": 768 } ], "_prefab": { - "__id__": 764 + "__id__": 770 }, "_lpos": { "__type__": "cc.Vec3", @@ -16311,11 +16474,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 759 + "__id__": 765 }, "_enabled": true, "__prefab": { - "__id__": 761 + "__id__": 767 }, "_contentSize": { "__type__": "cc.Size", @@ -16339,11 +16502,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 759 + "__id__": 765 }, "_enabled": true, "__prefab": { - "__id__": 763 + "__id__": 769 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16397,20 +16560,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 758 + "__id__": 764 }, "_children": [], "_active": true, "_components": [ { - "__id__": 766 + "__id__": 772 }, { - "__id__": 768 + "__id__": 774 } ], "_prefab": { - "__id__": 770 + "__id__": 776 }, "_lpos": { "__type__": "cc.Vec3", @@ -16447,11 +16610,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 765 + "__id__": 771 }, "_enabled": true, "__prefab": { - "__id__": 767 + "__id__": 773 }, "_contentSize": { "__type__": "cc.Size", @@ -16475,11 +16638,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 765 + "__id__": 771 }, "_enabled": true, "__prefab": { - "__id__": 769 + "__id__": 775 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16556,11 +16719,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 758 + "__id__": 764 }, "_enabled": true, "__prefab": { - "__id__": 772 + "__id__": 778 }, "_contentSize": { "__type__": "cc.Size", @@ -16584,11 +16747,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 758 + "__id__": 764 }, "_enabled": true, "__prefab": { - "__id__": 774 + "__id__": 780 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16629,11 +16792,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 758 + "__id__": 764 }, "_enabled": true, "__prefab": { - "__id__": 776 + "__id__": 782 }, "_alignFlags": 45, "_target": null, @@ -16678,20 +16841,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 749 + "__id__": 755 }, - "_children": [], + "_children": [ + { + "__id__": 785 + } + ], "_active": true, "_components": [ { - "__id__": 779 + "__id__": 791 }, { - "__id__": 781 + "__id__": 793 } ], "_prefab": { - "__id__": 783 + "__id__": 795 }, "_lpos": { "__type__": "cc.Vec3", @@ -16722,17 +16889,176 @@ }, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 784 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 786 + }, + { + "__id__": 788 + } + ], + "_prefab": { + "__id__": 790 + }, + "_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__": 778 + "__id__": 785 }, "_enabled": true, "__prefab": { - "__id__": 780 + "__id__": 787 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 94, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b1hhDu6tJJgbxsGlG+UzxX" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 785 + }, + "_enabled": true, + "__prefab": { + "__id__": 789 + }, + "_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": "3aAKX1uehBd7tbzXMOHj+a" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8f1TZS5s1DTayzIv/bp7PG", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 784 + }, + "_enabled": true, + "__prefab": { + "__id__": 792 }, "_contentSize": { "__type__": "cc.Size", @@ -16756,11 +17082,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 778 + "__id__": 784 }, "_enabled": true, "__prefab": { - "__id__": 782 + "__id__": 794 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16814,15 +17140,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 749 + "__id__": 755 }, "_enabled": true, "__prefab": { - "__id__": 785 + "__id__": 797 }, "_contentSize": { "__type__": "cc.Size", - "width": 240, + "width": 100, "height": 110 }, "_anchorPoint": { @@ -16842,15 +17168,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 749 + "__id__": 755 }, "_enabled": true, "__prefab": { - "__id__": 787 + "__id__": 799 }, "clickEvents": [ { - "__id__": 788 + "__id__": 800 } ], "_interactable": true, @@ -16929,12 +17255,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 791 + "__id__": 803 }, "_contentSize": { "__type__": "cc.Size", - "width": 480, - "height": 110 + "width": 400, + "height": 200 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -16957,14 +17283,14 @@ }, "_enabled": true, "__prefab": { - "__id__": 793 + "__id__": 805 }, "_alignFlags": 44, "_target": null, - "_left": 120, - "_right": 120, + "_left": 160, + "_right": 160, "_top": 0, - "_bottom": 46.68600000000001, + "_bottom": 1.686000000000007, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -16993,7 +17319,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 795 + "__id__": 807 }, "_resizeMode": 1, "_layoutType": 1, @@ -17007,7 +17333,7 @@ "_paddingRight": 0, "_paddingTop": 0, "_paddingBottom": 0, - "_spacingX": 0, + "_spacingX": 200, "_spacingY": 0, "_verticalDirection": 1, "_horizontalDirection": 0, @@ -17044,23 +17370,23 @@ }, "_children": [ { - "__id__": 798 + "__id__": 810 } ], "_active": true, "_components": [ { - "__id__": 806 + "__id__": 818 }, { - "__id__": 808 + "__id__": 820 }, { - "__id__": 811 + "__id__": 823 } ], "_prefab": { - "__id__": 813 + "__id__": 825 }, "_lpos": { "__type__": "cc.Vec3", @@ -17097,23 +17423,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 797 + "__id__": 809 }, "_children": [], "_active": true, "_components": [ { - "__id__": 799 + "__id__": 811 }, { - "__id__": 801 + "__id__": 813 }, { - "__id__": 803 + "__id__": 815 } ], "_prefab": { - "__id__": 805 + "__id__": 817 }, "_lpos": { "__type__": "cc.Vec3", @@ -17150,11 +17476,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 798 + "__id__": 810 }, "_enabled": true, "__prefab": { - "__id__": 800 + "__id__": 812 }, "_contentSize": { "__type__": "cc.Size", @@ -17178,11 +17504,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 798 + "__id__": 810 }, "_enabled": true, "__prefab": { - "__id__": 802 + "__id__": 814 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -17226,11 +17552,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 798 + "__id__": 810 }, "_enabled": true, "__prefab": { - "__id__": 804 + "__id__": 816 }, "_alignFlags": 45, "_target": null, @@ -17275,11 +17601,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 797 + "__id__": 809 }, "_enabled": true, "__prefab": { - "__id__": 807 + "__id__": 819 }, "_contentSize": { "__type__": "cc.Size", @@ -17303,15 +17629,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 797 + "__id__": 809 }, "_enabled": true, "__prefab": { - "__id__": 809 + "__id__": 821 }, "clickEvents": [ { - "__id__": 810 + "__id__": 822 } ], "_interactable": true, @@ -17373,11 +17699,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 797 + "__id__": 809 }, "_enabled": true, "__prefab": { - "__id__": 812 + "__id__": 824 }, "_alignFlags": 4, "_target": null, @@ -17426,7 +17752,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 815 + "__id__": 827 }, "_contentSize": { "__type__": "cc.Size", @@ -17454,7 +17780,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 817 + "__id__": 829 }, "_alignFlags": 21, "_target": null, @@ -17490,7 +17816,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 819 + "__id__": 831 }, "home_btn": { "__id__": 667 @@ -17499,7 +17825,7 @@ "__id__": 626 }, "rank_btn": { - "__id__": 749 + "__id__": 755 }, "_id": "" }, @@ -17527,14 +17853,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 822 + "__id__": 834 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 821 + "__id__": 833 }, "asset": { "__uuid__": "26bff847-cd29-48a5-bbfa-c3e2dbda688d", @@ -17542,7 +17868,7 @@ }, "fileId": "5a9CMsVQhKP5Y+UJfTKPbx", "instance": { - "__id__": 823 + "__id__": 835 }, "targetOverrides": null }, @@ -17556,19 +17882,19 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 824 + "__id__": 836 }, { - "__id__": 826 + "__id__": 838 }, { - "__id__": 827 + "__id__": 839 }, { - "__id__": 828 + "__id__": 840 }, { - "__id__": 829 + "__id__": 841 } ], "removedComponents": [] @@ -17576,7 +17902,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 825 + "__id__": 837 }, "propertyPath": [ "_name" @@ -17592,7 +17918,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 825 + "__id__": 837 }, "propertyPath": [ "_lpos" @@ -17607,7 +17933,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 825 + "__id__": 837 }, "propertyPath": [ "_lrot" @@ -17623,7 +17949,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 825 + "__id__": 837 }, "propertyPath": [ "_euler" @@ -17638,7 +17964,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 825 + "__id__": 837 }, "propertyPath": [ "_active" @@ -17655,23 +17981,23 @@ }, "_children": [ { - "__id__": 831 + "__id__": 843 } ], "_active": true, "_components": [ { - "__id__": 869 + "__id__": 881 }, { - "__id__": 871 + "__id__": 883 }, { - "__id__": 873 + "__id__": 885 } ], "_prefab": { - "__id__": 875 + "__id__": 887 }, "_lpos": { "__type__": "cc.Vec3", @@ -17708,30 +18034,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 830 + "__id__": 842 }, "_children": [ { - "__id__": 832 + "__id__": 844 } ], "_active": true, "_components": [ { - "__id__": 860 + "__id__": 872 }, { - "__id__": 862 + "__id__": 874 }, { - "__id__": 864 + "__id__": 876 }, { - "__id__": 866 + "__id__": 878 } ], "_prefab": { - "__id__": 868 + "__id__": 880 }, "_lpos": { "__type__": "cc.Vec3", @@ -17768,27 +18094,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 831 + "__id__": 843 }, "_children": [ { - "__id__": 833 + "__id__": 845 }, { - "__id__": 841 + "__id__": 853 }, { - "__id__": 847 + "__id__": 859 } ], "_active": true, "_components": [ { - "__id__": 857 + "__id__": 869 } ], "_prefab": { - "__id__": 859 + "__id__": 871 }, "_lpos": { "__type__": "cc.Vec3", @@ -17825,23 +18151,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 832 + "__id__": 844 }, "_children": [], "_active": true, "_components": [ { - "__id__": 834 + "__id__": 846 }, { - "__id__": 836 + "__id__": 848 }, { - "__id__": 838 + "__id__": 850 } ], "_prefab": { - "__id__": 840 + "__id__": 852 }, "_lpos": { "__type__": "cc.Vec3", @@ -17878,11 +18204,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 833 + "__id__": 845 }, "_enabled": true, "__prefab": { - "__id__": 835 + "__id__": 847 }, "_contentSize": { "__type__": "cc.Size", @@ -17906,11 +18232,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 833 + "__id__": 845 }, "_enabled": true, "__prefab": { - "__id__": 837 + "__id__": 849 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -17954,11 +18280,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 833 + "__id__": 845 }, "_enabled": true, "__prefab": { - "__id__": 839 + "__id__": 851 }, "_alignFlags": 40, "_target": null, @@ -18003,20 +18329,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 832 + "__id__": 844 }, "_children": [], "_active": true, "_components": [ { - "__id__": 842 + "__id__": 854 }, { - "__id__": 844 + "__id__": 856 } ], "_prefab": { - "__id__": 846 + "__id__": 858 }, "_lpos": { "__type__": "cc.Vec3", @@ -18053,11 +18379,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 841 + "__id__": 853 }, "_enabled": true, "__prefab": { - "__id__": 843 + "__id__": 855 }, "_contentSize": { "__type__": "cc.Size", @@ -18081,11 +18407,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 841 + "__id__": 853 }, "_enabled": true, "__prefab": { - "__id__": 845 + "__id__": 857 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -18142,26 +18468,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 832 + "__id__": 844 }, "_children": [], "_active": true, "_components": [ { - "__id__": 848 + "__id__": 860 }, { - "__id__": 850 + "__id__": 862 }, { - "__id__": 852 + "__id__": 864 }, { - "__id__": 854 + "__id__": 866 } ], "_prefab": { - "__id__": 856 + "__id__": 868 }, "_lpos": { "__type__": "cc.Vec3", @@ -18198,11 +18524,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 847 + "__id__": 859 }, "_enabled": true, "__prefab": { - "__id__": 849 + "__id__": 861 }, "_contentSize": { "__type__": "cc.Size", @@ -18226,11 +18552,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 847 + "__id__": 859 }, "_enabled": true, "__prefab": { - "__id__": 851 + "__id__": 863 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -18294,11 +18620,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 847 + "__id__": 859 }, "_enabled": true, "__prefab": { - "__id__": 853 + "__id__": 865 }, "_alignFlags": 10, "_target": null, @@ -18330,11 +18656,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 847 + "__id__": 859 }, "_enabled": true, "__prefab": { - "__id__": 855 + "__id__": 867 }, "templateMode": true, "watchPath": "data.data.gold", @@ -18367,11 +18693,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 832 + "__id__": 844 }, "_enabled": true, "__prefab": { - "__id__": 858 + "__id__": 870 }, "_contentSize": { "__type__": "cc.Size", @@ -18408,11 +18734,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 831 + "__id__": 843 }, "_enabled": true, "__prefab": { - "__id__": 861 + "__id__": 873 }, "_contentSize": { "__type__": "cc.Size", @@ -18436,11 +18762,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 831 + "__id__": 843 }, "_enabled": true, "__prefab": { - "__id__": 863 + "__id__": 875 }, "_alignFlags": 8, "_target": null, @@ -18472,11 +18798,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 831 + "__id__": 843 }, "_enabled": true, "__prefab": { - "__id__": 865 + "__id__": 877 }, "_resizeMode": 0, "_layoutType": 1, @@ -18510,11 +18836,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 831 + "__id__": 843 }, "_enabled": true, "__prefab": { - "__id__": 867 + "__id__": 879 }, "_alignFlags": 40, "_target": null, @@ -18559,11 +18885,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 830 + "__id__": 842 }, "_enabled": true, "__prefab": { - "__id__": 870 + "__id__": 882 }, "_contentSize": { "__type__": "cc.Size", @@ -18587,11 +18913,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 830 + "__id__": 842 }, "_enabled": true, "__prefab": { - "__id__": 872 + "__id__": 884 }, "_alignFlags": 17, "_target": null, @@ -18623,11 +18949,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 830 + "__id__": 842 }, "_enabled": true, "__prefab": { - "__id__": 874 + "__id__": 886 }, "_id": "" }, @@ -18658,7 +18984,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 877 + "__id__": 889 }, "_contentSize": { "__type__": "cc.Size", @@ -18686,7 +19012,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 879 + "__id__": 891 }, "_alignFlags": 45, "_target": null, @@ -18722,7 +19048,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 881 + "__id__": 893 }, "debugMode": false, "_id": "" @@ -18744,7 +19070,7 @@ "targetOverrides": [], "nestedPrefabInstanceRoots": [ { - "__id__": 821 + "__id__": 833 }, { "__id__": 592 diff --git a/assets/script/game/map/HlistComp.ts b/assets/script/game/map/HlistComp.ts index d63578fe..ed8e05e0 100644 --- a/assets/script/game/map/HlistComp.ts +++ b/assets/script/game/map/HlistComp.ts @@ -103,7 +103,7 @@ export class HListComp extends CCComp { } /** 关闭排行榜弹窗 */ closeHeros(){ - oops.gui.remove(UIID.Ranks) + oops.gui.remove(UIID.Heros) } start() { // 初始化轮播节点数组和固定位置