From 7047ba932e3b639dd8dfc10c371609c94853c045 Mon Sep 17 00:00:00 2001 From: panw Date: Fri, 24 Apr 2026 15:22:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(map):=20=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=8D=A1=E7=89=87=E4=B8=AD=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=A5=96=E6=B1=A0=E7=AD=89=E7=BA=A7UI=E7=9A=84=E8=B0=83?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新金币和消耗UI时不再调用updatePoolLvUI方法,该方法可能存在问题或不再需要。 --- assets/resources/gui/role_controller.prefab | 1169 +++++++++---------- assets/script/game/map/MissionCardComp.ts | 2 +- 2 files changed, 585 insertions(+), 586 deletions(-) diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 6ca2b91b..5677dee4 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -94,7 +94,10 @@ "__id__": 93 }, { - "__id__": 831 + "__id__": 799 + }, + { + "__id__": 810 }, { "__id__": 842 @@ -2306,25 +2309,28 @@ }, { "__id__": 712 + }, + { + "__id__": 720 } ], "_active": true, "_components": [ { - "__id__": 822 + "__id__": 790 }, { - "__id__": 824 + "__id__": 792 }, { - "__id__": 826 + "__id__": 794 }, { - "__id__": 828 + "__id__": 796 } ], "_prefab": { - "__id__": 830 + "__id__": 798 }, "_lpos": { "__type__": "cc.Vec3", @@ -11641,7 +11647,7 @@ "__id__": 506 } ], - "_active": true, + "_active": false, "_components": [ { "__id__": 514 @@ -14656,33 +14662,26 @@ "_parent": { "__id__": 93 }, - "_children": [ + "_children": [], + "_active": true, + "_components": [ { "__id__": 713 }, { - "__id__": 783 - } - ], - "_active": true, - "_components": [ - { - "__id__": 815 + "__id__": 715 }, { - "__id__": 817 - }, - { - "__id__": 819 + "__id__": 717 } ], "_prefab": { - "__id__": 821 + "__id__": 719 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 7.988, + "y": 75, "z": 0 }, "_lrot": { @@ -14708,47 +14707,162 @@ }, "_id": "" }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 712 + }, + "_enabled": true, + "__prefab": { + "__id__": 714 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5f/oWDNQlA44GZY7xXb4Qy" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 712 + }, + "_enabled": true, + "__prefab": { + "__id__": 716 + }, + "_resizeMode": 1, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 0, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "37EtakFqdMhI/kHLuhH2Z+" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 712 + }, + "_enabled": true, + "__prefab": { + "__id__": 718 + }, + "_alignFlags": 44, + "_target": null, + "_left": 360, + "_right": 360, + "_top": 1230, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 378, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "96XRN7WElCV61WiCZ6xZcF" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "46VgrHm5VNH5UNmq7bgAi+", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.Node", "_name": "up", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 712 + "__id__": 93 }, "_children": [ { - "__id__": 714 + "__id__": 721 }, { - "__id__": 722 + "__id__": 729 }, { - "__id__": 730 + "__id__": 737 }, { - "__id__": 764 + "__id__": 771 }, { - "__id__": 772 + "__id__": 779 } ], "_active": false, "_components": [ { - "__id__": 778 + "__id__": 785 }, { - "__id__": 780 + "__id__": 787 } ], "_prefab": { - "__id__": 782 + "__id__": 789 }, "_lpos": { "__type__": "cc.Vec3", "x": -240, - "y": 0, + "y": 7.988, "z": 0 }, "_lrot": { @@ -14780,23 +14894,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 713 + "__id__": 720 }, "_children": [], "_active": true, "_components": [ { - "__id__": 715 + "__id__": 722 }, { - "__id__": 717 + "__id__": 724 }, { - "__id__": 719 + "__id__": 726 } ], "_prefab": { - "__id__": 721 + "__id__": 728 }, "_lpos": { "__type__": "cc.Vec3", @@ -14833,11 +14947,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 714 + "__id__": 721 }, "_enabled": true, "__prefab": { - "__id__": 716 + "__id__": 723 }, "_contentSize": { "__type__": "cc.Size", @@ -14861,11 +14975,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 714 + "__id__": 721 }, "_enabled": true, "__prefab": { - "__id__": 718 + "__id__": 725 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -14909,11 +15023,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 714 + "__id__": 721 }, "_enabled": true, "__prefab": { - "__id__": 720 + "__id__": 727 }, "_alignFlags": 45, "_target": null, @@ -14958,23 +15072,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 713 + "__id__": 720 }, "_children": [], "_active": true, "_components": [ { - "__id__": 723 + "__id__": 730 }, { - "__id__": 725 + "__id__": 732 }, { - "__id__": 727 + "__id__": 734 } ], "_prefab": { - "__id__": 729 + "__id__": 736 }, "_lpos": { "__type__": "cc.Vec3", @@ -15011,11 +15125,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 722 + "__id__": 729 }, "_enabled": true, "__prefab": { - "__id__": 724 + "__id__": 731 }, "_contentSize": { "__type__": "cc.Size", @@ -15039,11 +15153,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 722 + "__id__": 729 }, "_enabled": true, "__prefab": { - "__id__": 726 + "__id__": 733 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -15087,11 +15201,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 722 + "__id__": 729 }, "_enabled": true, "__prefab": { - "__id__": 728 + "__id__": 735 }, "_alignFlags": 45, "_target": null, @@ -15136,33 +15250,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 713 + "__id__": 720 }, "_children": [ { - "__id__": 731 + "__id__": 738 }, { - "__id__": 737 + "__id__": 744 }, { - "__id__": 743 + "__id__": 750 } ], "_active": true, "_components": [ { - "__id__": 757 + "__id__": 764 }, { - "__id__": 759 + "__id__": 766 }, { - "__id__": 761 + "__id__": 768 } ], "_prefab": { - "__id__": 763 + "__id__": 770 }, "_lpos": { "__type__": "cc.Vec3", @@ -15199,20 +15313,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 730 + "__id__": 737 }, "_children": [], "_active": true, "_components": [ { - "__id__": 732 + "__id__": 739 }, { - "__id__": 734 + "__id__": 741 } ], "_prefab": { - "__id__": 736 + "__id__": 743 }, "_lpos": { "__type__": "cc.Vec3", @@ -15249,11 +15363,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 731 + "__id__": 738 }, "_enabled": true, "__prefab": { - "__id__": 733 + "__id__": 740 }, "_contentSize": { "__type__": "cc.Size", @@ -15277,11 +15391,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 731 + "__id__": 738 }, "_enabled": true, "__prefab": { - "__id__": 735 + "__id__": 742 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -15335,20 +15449,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 730 + "__id__": 737 }, "_children": [], "_active": true, "_components": [ { - "__id__": 738 + "__id__": 745 }, { - "__id__": 740 + "__id__": 747 } ], "_prefab": { - "__id__": 742 + "__id__": 749 }, "_lpos": { "__type__": "cc.Vec3", @@ -15385,11 +15499,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 737 + "__id__": 744 }, "_enabled": true, "__prefab": { - "__id__": 739 + "__id__": 746 }, "_contentSize": { "__type__": "cc.Size", @@ -15413,11 +15527,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 737 + "__id__": 744 }, "_enabled": true, "__prefab": { - "__id__": 741 + "__id__": 748 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -15474,24 +15588,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 730 + "__id__": 737 }, "_children": [ { - "__id__": 744 + "__id__": 751 } ], "_active": true, "_components": [ { - "__id__": 752 + "__id__": 759 }, { - "__id__": 754 + "__id__": 761 } ], "_prefab": { - "__id__": 756 + "__id__": 763 }, "_lpos": { "__type__": "cc.Vec3", @@ -15528,23 +15642,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 743 + "__id__": 750 }, "_children": [], "_active": true, "_components": [ { - "__id__": 745 + "__id__": 752 }, { - "__id__": 747 + "__id__": 754 }, { - "__id__": 749 + "__id__": 756 } ], "_prefab": { - "__id__": 751 + "__id__": 758 }, "_lpos": { "__type__": "cc.Vec3", @@ -15581,11 +15695,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 744 + "__id__": 751 }, "_enabled": true, "__prefab": { - "__id__": 746 + "__id__": 753 }, "_contentSize": { "__type__": "cc.Size", @@ -15609,11 +15723,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 744 + "__id__": 751 }, "_enabled": true, "__prefab": { - "__id__": 748 + "__id__": 755 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -15677,11 +15791,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 744 + "__id__": 751 }, "_enabled": true, "__prefab": { - "__id__": 750 + "__id__": 757 }, "_alignFlags": 8, "_target": null, @@ -15726,11 +15840,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 743 + "__id__": 750 }, "_enabled": true, "__prefab": { - "__id__": 753 + "__id__": 760 }, "_contentSize": { "__type__": "cc.Size", @@ -15754,11 +15868,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 743 + "__id__": 750 }, "_enabled": true, "__prefab": { - "__id__": 755 + "__id__": 762 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -15835,11 +15949,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 730 + "__id__": 737 }, "_enabled": true, "__prefab": { - "__id__": 758 + "__id__": 765 }, "_contentSize": { "__type__": "cc.Size", @@ -15863,11 +15977,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 730 + "__id__": 737 }, "_enabled": true, "__prefab": { - "__id__": 760 + "__id__": 767 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -15905,11 +16019,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 730 + "__id__": 737 }, "_enabled": true, "__prefab": { - "__id__": 762 + "__id__": 769 }, "_alignFlags": 16, "_target": null, @@ -15954,23 +16068,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 713 + "__id__": 720 }, "_children": [], "_active": true, "_components": [ { - "__id__": 765 + "__id__": 772 }, { - "__id__": 767 + "__id__": 774 }, { - "__id__": 769 + "__id__": 776 } ], "_prefab": { - "__id__": 771 + "__id__": 778 }, "_lpos": { "__type__": "cc.Vec3", @@ -16007,11 +16121,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 764 + "__id__": 771 }, "_enabled": true, "__prefab": { - "__id__": 766 + "__id__": 773 }, "_contentSize": { "__type__": "cc.Size", @@ -16035,11 +16149,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 764 + "__id__": 771 }, "_enabled": true, "__prefab": { - "__id__": 768 + "__id__": 775 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16103,11 +16217,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 764 + "__id__": 771 }, "_enabled": true, "__prefab": { - "__id__": 770 + "__id__": 777 }, "_alignFlags": 16, "_target": null, @@ -16152,20 +16266,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 713 + "__id__": 720 }, "_children": [], "_active": false, "_components": [ { - "__id__": 773 + "__id__": 780 }, { - "__id__": 775 + "__id__": 782 } ], "_prefab": { - "__id__": 777 + "__id__": 784 }, "_lpos": { "__type__": "cc.Vec3", @@ -16202,11 +16316,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 772 + "__id__": 779 }, "_enabled": true, "__prefab": { - "__id__": 774 + "__id__": 781 }, "_contentSize": { "__type__": "cc.Size", @@ -16230,11 +16344,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 772 + "__id__": 779 }, "_enabled": true, "__prefab": { - "__id__": 776 + "__id__": 783 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16288,11 +16402,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 713 + "__id__": 720 }, "_enabled": true, "__prefab": { - "__id__": 779 + "__id__": 786 }, "_contentSize": { "__type__": "cc.Size", @@ -16316,11 +16430,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 713 + "__id__": 720 }, "_enabled": false, "__prefab": { - "__id__": 781 + "__id__": 788 }, "_alignFlags": 12, "_target": null, @@ -16359,44 +16473,321 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 93 + }, + "_enabled": true, + "__prefab": { + "__id__": 791 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 450 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "62+0Q/OgxHTbkR/EJ3w/re" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 93 + }, + "_enabled": false, + "__prefab": { + "__id__": 793 + }, + "_alignFlags": 44, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 600, + "_bottom": -25.113000000000056, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 180, + "_originalHeight": 300, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1efl6/SChL1ID0Re8dT54J" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 93 + }, + "_enabled": false, + "__prefab": { + "__id__": 795 + }, + "_resizeMode": 1, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 3, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a9IUzkE5VJcL5XvDoxQFAc" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 93 + }, + "_enabled": false, + "__prefab": { + "__id__": 797 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2eEXX7/ENJTqfnGEf1HoxV" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "12iQGvMaFK75FxJj2LxFD5", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_prefab": { + "__id__": 800 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 799 + }, + "asset": { + "__uuid__": "0f2aeee0-d590-4c36-9f20-a93b058d5b91", + "__expectedType__": "cc.Prefab" + }, + "fileId": "5622mxbS1PNqMFP0FH5Mir", + "instance": { + "__id__": 801 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "6ciF/GW39Bv40zMjLY0kZI", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 802 + }, + { + "__id__": 804 + }, + { + "__id__": 805 + }, + { + "__id__": 806 + }, + { + "__id__": 807 + }, + { + "__id__": 809 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 803 + }, + "propertyPath": [ + "_name" + ], + "value": "mskills" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "5622mxbS1PNqMFP0FH5Mir" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 803 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": -540, + "y": 890, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 803 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 803 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 808 + }, + "propertyPath": [ + "_left" + ], + "value": -360 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "baKsIzXktAyqqNBZKVQXO+" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 808 + }, + "propertyPath": [ + "_verticalCenter" + ], + "value": 250 + }, { "__type__": "cc.Node", "_name": "start", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 712 + "__id__": 2 }, "_children": [ { - "__id__": 784 + "__id__": 811 }, { - "__id__": 792 + "__id__": 819 }, { - "__id__": 800 + "__id__": 827 } ], "_active": true, "_components": [ { - "__id__": 808 + "__id__": 835 }, { - "__id__": 810 + "__id__": 837 }, { - "__id__": 812 + "__id__": 839 } ], "_prefab": { - "__id__": 814 + "__id__": 841 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 14.309, + "y": 95, "z": 0 }, "_lrot": { @@ -16428,28 +16819,28 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 783 + "__id__": 810 }, "_children": [], "_active": true, "_components": [ { - "__id__": 785 + "__id__": 812 }, { - "__id__": 787 + "__id__": 814 }, { - "__id__": 789 + "__id__": 816 } ], "_prefab": { - "__id__": 791 + "__id__": 818 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 0, + "y": -55, "z": 0 }, "_lrot": { @@ -16481,11 +16872,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 784 + "__id__": 811 }, "_enabled": true, "__prefab": { - "__id__": 786 + "__id__": 813 }, "_contentSize": { "__type__": "cc.Size", @@ -16509,11 +16900,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 784 + "__id__": 811 }, "_enabled": true, "__prefab": { - "__id__": 788 + "__id__": 815 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16557,11 +16948,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 784 + "__id__": 811 }, "_enabled": true, "__prefab": { - "__id__": 790 + "__id__": 817 }, "_alignFlags": 45, "_target": null, @@ -16606,23 +16997,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 783 + "__id__": 810 }, "_children": [], "_active": false, "_components": [ { - "__id__": 793 + "__id__": 820 }, { - "__id__": 795 + "__id__": 822 }, { - "__id__": 797 + "__id__": 824 } ], "_prefab": { - "__id__": 799 + "__id__": 826 }, "_lpos": { "__type__": "cc.Vec3", @@ -16659,11 +17050,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 792 + "__id__": 819 }, "_enabled": true, "__prefab": { - "__id__": 794 + "__id__": 821 }, "_contentSize": { "__type__": "cc.Size", @@ -16687,11 +17078,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 792 + "__id__": 819 }, "_enabled": true, "__prefab": { - "__id__": 796 + "__id__": 823 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16735,11 +17126,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 792 + "__id__": 819 }, "_enabled": true, "__prefab": { - "__id__": 798 + "__id__": 825 }, "_alignFlags": 45, "_target": null, @@ -16784,28 +17175,28 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 783 + "__id__": 810 }, "_children": [], "_active": true, "_components": [ { - "__id__": 801 + "__id__": 828 }, { - "__id__": 803 + "__id__": 830 }, { - "__id__": 805 + "__id__": 832 } ], "_prefab": { - "__id__": 807 + "__id__": 834 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 55, + "y": 0, "z": 0 }, "_lrot": { @@ -16837,11 +17228,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 800 + "__id__": 827 }, "_enabled": true, "__prefab": { - "__id__": 802 + "__id__": 829 }, "_contentSize": { "__type__": "cc.Size", @@ -16865,11 +17256,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 800 + "__id__": 827 }, "_enabled": true, "__prefab": { - "__id__": 804 + "__id__": 831 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16933,11 +17324,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 800 + "__id__": 827 }, "_enabled": true, "__prefab": { - "__id__": 806 + "__id__": 833 }, "_alignFlags": 16, "_target": null, @@ -16982,11 +17373,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 783 + "__id__": 810 }, "_enabled": true, "__prefab": { - "__id__": 809 + "__id__": 836 }, "_contentSize": { "__type__": "cc.Size", @@ -16996,7 +17387,7 @@ "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, - "y": 0 + "y": 0.5 }, "_id": "" }, @@ -17010,18 +17401,18 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 783 + "__id__": 810 }, - "_enabled": false, + "_enabled": true, "__prefab": { - "__id__": 811 + "__id__": 838 }, - "_alignFlags": 33, + "_alignFlags": 20, "_target": null, "_left": 0, - "_right": 120, + "_right": 0, "_top": 40, - "_bottom": 1078.082, + "_bottom": 40, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -17046,11 +17437,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 783 + "__id__": 810 }, "_enabled": true, "__prefab": { - "__id__": 813 + "__id__": 840 }, "clickEvents": [], "_interactable": true, @@ -17109,398 +17500,6 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 712 - }, - "_enabled": true, - "__prefab": { - "__id__": 816 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 220, - "height": 150 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "5f/oWDNQlA44GZY7xXb4Qy" - }, - { - "__type__": "cc.Layout", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 712 - }, - "_enabled": true, - "__prefab": { - "__id__": 818 - }, - "_resizeMode": 1, - "_layoutType": 1, - "_cellSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_startAxis": 0, - "_paddingLeft": 0, - "_paddingRight": 0, - "_paddingTop": 0, - "_paddingBottom": 0, - "_spacingX": 0, - "_spacingY": 0, - "_verticalDirection": 1, - "_horizontalDirection": 0, - "_constraint": 0, - "_constraintNum": 2, - "_affectedByScale": false, - "_isAlign": false, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "37EtakFqdMhI/kHLuhH2Z+" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 712 - }, - "_enabled": true, - "__prefab": { - "__id__": 820 - }, - "_alignFlags": 44, - "_target": null, - "_left": 250, - "_right": 250, - "_top": 1230, - "_bottom": 7.988, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 378, - "_originalHeight": 100, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "96XRN7WElCV61WiCZ6xZcF" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "46VgrHm5VNH5UNmq7bgAi+", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 93 - }, - "_enabled": true, - "__prefab": { - "__id__": 823 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 720, - "height": 450 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "62+0Q/OgxHTbkR/EJ3w/re" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 93 - }, - "_enabled": false, - "__prefab": { - "__id__": 825 - }, - "_alignFlags": 44, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 600, - "_bottom": -25.113000000000056, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 180, - "_originalHeight": 300, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "1efl6/SChL1ID0Re8dT54J" - }, - { - "__type__": "cc.Layout", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 93 - }, - "_enabled": false, - "__prefab": { - "__id__": 827 - }, - "_resizeMode": 1, - "_layoutType": 1, - "_cellSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_startAxis": 0, - "_paddingLeft": 0, - "_paddingRight": 0, - "_paddingTop": 0, - "_paddingBottom": 0, - "_spacingX": 3, - "_spacingY": 0, - "_verticalDirection": 1, - "_horizontalDirection": 0, - "_constraint": 0, - "_constraintNum": 2, - "_affectedByScale": false, - "_isAlign": false, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "a9IUzkE5VJcL5XvDoxQFAc" - }, - { - "__type__": "cc.BlockInputEvents", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 93 - }, - "_enabled": false, - "__prefab": { - "__id__": 829 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "2eEXX7/ENJTqfnGEf1HoxV" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "12iQGvMaFK75FxJj2LxFD5", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 2 - }, - "_prefab": { - "__id__": 832 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 831 - }, - "asset": { - "__uuid__": "0f2aeee0-d590-4c36-9f20-a93b058d5b91", - "__expectedType__": "cc.Prefab" - }, - "fileId": "5622mxbS1PNqMFP0FH5Mir", - "instance": { - "__id__": 833 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "6ciF/GW39Bv40zMjLY0kZI", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 834 - }, - { - "__id__": 836 - }, - { - "__id__": 837 - }, - { - "__id__": 838 - }, - { - "__id__": 839 - }, - { - "__id__": 841 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 835 - }, - "propertyPath": [ - "_name" - ], - "value": "mskills" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "5622mxbS1PNqMFP0FH5Mir" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 835 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": -540, - "y": 890, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 835 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 835 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 840 - }, - "propertyPath": [ - "_left" - ], - "value": -360 - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "baKsIzXktAyqqNBZKVQXO+" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 840 - }, - "propertyPath": [ - "_verticalCenter" - ], - "value": 250 - }, { "__type__": "cc.Node", "_name": "end", @@ -17534,8 +17533,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -302.546, - "y": 80, + "x": -308.317, + "y": 100, "z": 0 }, "_lrot": { @@ -17547,8 +17546,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.7, - "y": 0.7, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -17600,8 +17599,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.7, + "y": 0.7, "z": 1 }, "_mobility": 0, @@ -17951,8 +17950,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 210, - "height": 100 + "width": 120, + "height": 110 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -18051,7 +18050,7 @@ }, "_alignFlags": 12, "_target": null, - "_left": -16.045999999999992, + "_left": -8.317000000000007, "_right": 584.502, "_top": 89.63, "_bottom": 45, @@ -18841,7 +18840,7 @@ 10 ], "start_btn": { - "__id__": 783 + "__id__": 810 }, "time_node": { "__id__": 3 @@ -18923,7 +18922,7 @@ "__id__": 259 }, "cards_up": { - "__id__": 713 + "__id__": 720 }, "coins_node": { "__id__": 491 @@ -25262,7 +25261,7 @@ "__id__": 1127 }, { - "__id__": 831 + "__id__": 799 }, { "__id__": 679 diff --git a/assets/script/game/map/MissionCardComp.ts b/assets/script/game/map/MissionCardComp.ts index a0a882c0..2c8fabd3 100644 --- a/assets/script/game/map/MissionCardComp.ts +++ b/assets/script/game/map/MissionCardComp.ts @@ -811,7 +811,7 @@ export class MissionCardComp extends CCComp { } private updateCoinAndCostUI() { - this.updatePoolLvUI(); + // this.updatePoolLvUI(); this.updateDrawCostUI(); }