refactor(UI): 移除多余节点激活逻辑并更新预制体配置

移除HInfoComp和VictoryComp中多余的节点激活代码
更新card.prefab的节点结构和组件引用
调整ubtns.plist.meta中的纹理坐标和旋转配置
This commit is contained in:
panw
2025-12-23 15:52:09 +08:00
parent cdfdec2845
commit db64b1c009
6 changed files with 5206 additions and 4376 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -15,11 +15,11 @@
"name": "pixelated header copy",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1609,
"trimY": 556,
"trimX": 273,
"trimY": 892,
"width": 263,
"height": 40,
"rawWidth": 263,
@@ -64,8 +64,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1466,
"trimY": 808,
"trimX": 1823,
"trimY": 439,
"width": 109,
"height": 104,
"rawWidth": 109,
@@ -107,11 +107,11 @@
"name": "blocky orange",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1868,
"trimY": 318,
"trimX": 1086,
"trimY": 881,
"width": 229,
"height": 63,
"rawWidth": 229,
@@ -156,8 +156,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 552,
"trimY": 827,
"trimX": 1702,
"trimY": 85,
"width": 219,
"height": 143,
"rawWidth": 219,
@@ -202,8 +202,8 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1753,
"trimY": 556,
"trimX": 1785,
"trimY": 705,
"width": 208,
"height": 47,
"rawWidth": 208,
@@ -245,11 +245,11 @@
"name": "Transparent Container small",
"userData": {
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 760,
"trimY": 92,
"trimX": 1923,
"trimY": 85,
"width": 133,
"height": 45,
"rawWidth": 133,
@@ -294,8 +294,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1411,
"trimY": 891,
"trimX": 1899,
"trimY": 922,
"width": 27,
"height": 27,
"rawWidth": 27,
@@ -341,7 +341,7 @@
"offsetX": 0,
"offsetY": 0,
"trimX": 1084,
"trimY": 259,
"trimY": 194,
"width": 469,
"height": 63,
"rawWidth": 469,
@@ -383,11 +383,11 @@
"name": "PlayIcon",
"userData": {
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1933,
"trimY": 556,
"trimX": 1476,
"trimY": 512,
"width": 60,
"height": 70,
"rawWidth": 60,
@@ -432,8 +432,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 944,
"trimX": 273,
"trimY": 934,
"width": 272,
"height": 21,
"rawWidth": 272,
@@ -475,11 +475,11 @@
"name": "OrangeContainer",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1559,
"trimY": 76,
"trimX": 1745,
"trimY": 558,
"width": 186,
"height": 145,
"rawWidth": 186,
@@ -570,8 +570,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 908,
"trimY": 572,
"trimX": 1027,
"trimY": 507,
"width": 447,
"height": 54,
"rawWidth": 447,
@@ -659,11 +659,11 @@
"name": "Shape 3-1",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1577,
"trimY": 821,
"trimX": 1940,
"trimY": 250,
"width": 101,
"height": 109,
"rawWidth": 101,
@@ -708,8 +708,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1555,
"trimY": 264,
"trimX": 1620,
"trimY": 368,
"width": 238,
"height": 58,
"rawWidth": 238,
@@ -751,11 +751,11 @@
"name": "BlueContainer",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 761,
"trimY": 527,
"trimX": 1432,
"trimY": 259,
"width": 186,
"height": 145,
"rawWidth": 186,
@@ -893,7 +893,7 @@
"offsetX": 0,
"offsetY": 0,
"trimX": 1084,
"trimY": 493,
"trimY": 428,
"width": 395,
"height": 77,
"rawWidth": 395,
@@ -938,8 +938,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 761,
"trimY": 808,
"trimX": 906,
"trimY": 743,
"width": 318,
"height": 2,
"rawWidth": 318,
@@ -984,8 +984,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 761,
"trimY": 812,
"trimX": 906,
"trimY": 747,
"width": 318,
"height": 2,
"rawWidth": 318,
@@ -1027,11 +1027,11 @@
"name": "GreenBox",
"userData": {
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 773,
"trimY": 816,
"trimX": 1491,
"trimY": 752,
"width": 186,
"height": 145,
"rawWidth": 186,
@@ -1076,8 +1076,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1432,
"trimY": 324,
"trimX": 1557,
"trimY": 558,
"width": 186,
"height": 145,
"rawWidth": 186,
@@ -1165,11 +1165,11 @@
"name": "Item Grey",
"userData": {
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1854,
"trimY": 549,
"trimX": 761,
"trimY": 748,
"width": 77,
"height": 83,
"rawWidth": 77,
@@ -1211,11 +1211,11 @@
"name": "LightGreenBox",
"userData": {
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 961,
"trimY": 816,
"trimX": 1638,
"trimY": 705,
"width": 186,
"height": 145,
"rawWidth": 186,
@@ -1257,11 +1257,11 @@
"name": "MovieIcon",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1328,
"trimY": 628,
"trimX": 760,
"trimY": 92,
"width": 116,
"height": 84,
"rawWidth": 116,
@@ -1306,8 +1306,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 761,
"trimY": 746,
"trimX": 906,
"trimY": 681,
"width": 410,
"height": 60,
"rawWidth": 410,
@@ -1441,11 +1441,11 @@
"name": "Play Level Button",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 273,
"trimY": 884,
"trimX": 1945,
"trimY": 903,
"width": 58,
"height": 54,
"rawWidth": 58,
@@ -1490,8 +1490,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1149,
"trimY": 949,
"trimX": 547,
"trimY": 934,
"width": 272,
"height": 21,
"rawWidth": 272,
@@ -1533,11 +1533,11 @@
"name": "ProgressBar1",
"userData": {
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 761,
"trimY": 715,
"trimX": 2025,
"trimY": 694,
"width": 95,
"height": 16,
"rawWidth": 95,
@@ -1625,11 +1625,11 @@
"name": "ProgressBar_Handle",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 858,
"trimY": 715,
"trimX": 878,
"trimY": 92,
"width": 29,
"height": 32,
"rawWidth": 29,
@@ -1674,8 +1674,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 849,
"trimY": 139,
"trimX": 878,
"trimY": 126,
"width": 29,
"height": 32,
"rawWidth": 29,
@@ -1717,11 +1717,11 @@
"name": "ProgressBar_Handle_Green",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1753,
"trimY": 766,
"trimX": 1649,
"trimY": 259,
"width": 29,
"height": 32,
"rawWidth": 29,
@@ -1766,8 +1766,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1380,
"trimY": 891,
"trimX": 1868,
"trimY": 922,
"width": 29,
"height": 32,
"rawWidth": 29,
@@ -1858,8 +1858,8 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1998,
"trimY": 325,
"trimX": 1970,
"trimY": 85,
"width": 93,
"height": 14,
"rawWidth": 93,
@@ -1904,8 +1904,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1084,
"trimY": 194,
"trimX": 331,
"trimY": 827,
"width": 469,
"height": 63,
"rawWidth": 469,
@@ -1996,8 +1996,8 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 880,
"trimY": 139,
"trimX": 1620,
"trimY": 259,
"width": 34,
"height": 27,
"rawWidth": 34,
@@ -2042,8 +2042,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1688,
"trimY": 821,
"trimX": 1940,
"trimY": 361,
"width": 101,
"height": 109,
"rawWidth": 101,
@@ -2085,11 +2085,11 @@
"name": "Shape 3",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1791,
"trimY": 851,
"trimX": 1940,
"trimY": 472,
"width": 101,
"height": 109,
"rawWidth": 101,
@@ -2134,8 +2134,8 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1802,
"trimY": 763,
"trimX": 966,
"trimY": 567,
"width": 48,
"height": 50,
"rawWidth": 48,
@@ -2177,11 +2177,11 @@
"name": "Square01",
"userData": {
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 331,
"trimY": 827,
"trimX": 761,
"trimY": 527,
"width": 219,
"height": 143,
"rawWidth": 219,
@@ -2226,8 +2226,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 760,
"trimY": 139,
"trimX": 1476,
"trimY": 574,
"width": 43,
"height": 36,
"rawWidth": 43,
@@ -2272,8 +2272,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 805,
"trimY": 139,
"trimX": 1824,
"trimY": 922,
"width": 42,
"height": 35,
"rawWidth": 42,
@@ -2361,11 +2361,11 @@
"name": "WHITE",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1693,
"trimY": 556,
"trimX": 821,
"trimY": 884,
"width": 238,
"height": 58,
"rawWidth": 238,
@@ -2456,8 +2456,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1997,
"trimY": 1,
"trimX": 1447,
"trimY": 563,
"width": 27,
"height": 37,
"rawWidth": 27,
@@ -2502,8 +2502,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1965,
"trimY": 733,
"trimX": 1945,
"trimY": 841,
"width": 60,
"height": 60,
"rawWidth": 60,
@@ -2548,8 +2548,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1677,
"trimY": 512,
"trimX": 1764,
"trimY": 915,
"width": 58,
"height": 42,
"rawWidth": 58,
@@ -2594,8 +2594,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1737,
"trimY": 512,
"trimX": 906,
"trimY": 567,
"width": 58,
"height": 42,
"rawWidth": 58,
@@ -2686,8 +2686,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1173,
"trimY": 746,
"trimX": 1702,
"trimY": 230,
"width": 229,
"height": 63,
"rawWidth": 229,
@@ -2732,8 +2732,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1149,
"trimY": 884,
"trimX": 1079,
"trimY": 751,
"width": 229,
"height": 63,
"rawWidth": 229,
@@ -2775,11 +2775,11 @@
"name": "blocky greenish",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1803,
"trimY": 259,
"trimX": 1086,
"trimY": 816,
"width": 229,
"height": 63,
"rawWidth": 229,
@@ -2821,11 +2821,11 @@
"name": "blocky purple",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1933,
"trimY": 325,
"trimX": 1592,
"trimY": 428,
"width": 229,
"height": 63,
"rawWidth": 229,
@@ -2867,19 +2867,19 @@
"name": "blocky red",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1414,
"trimY": 572,
"trimX": 1592,
"trimY": 493,
"width": 229,
"height": 63,
"rawWidth": 229,
"rawHeight": 63,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"borderTop": 20,
"borderBottom": 31,
"borderLeft": 30,
"borderRight": 30,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
@@ -2913,11 +2913,11 @@
"name": "blocky white",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1479,
"trimY": 577,
"trimX": 1326,
"trimY": 622,
"width": 229,
"height": 63,
"rawWidth": 229,
@@ -2959,11 +2959,11 @@
"name": "blocky yellow",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1544,
"trimY": 577,
"trimX": 1318,
"trimY": 687,
"width": 229,
"height": 63,
"rawWidth": 229,
@@ -3051,11 +3051,11 @@
"name": "coin",
"userData": {
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1382,
"trimY": 811,
"trimX": 1860,
"trimY": 295,
"width": 82,
"height": 78,
"rawWidth": 82,
@@ -3097,11 +3097,11 @@
"name": "dialog",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1706,
"trimY": 85,
"trimX": 1317,
"trimY": 752,
"width": 172,
"height": 183,
"rawWidth": 172,
@@ -3146,8 +3146,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1357,
"trimY": 572,
"trimX": 1997,
"trimY": 1,
"width": 41,
"height": 40,
"rawWidth": 41,
@@ -3181,6 +3181,52 @@
],
"subMetas": {}
},
"c0c4e": {
"importer": "sprite-frame",
"uuid": "deedea09-8f2b-400f-9803-4cfd38e45d1a@c0c4e",
"displayName": "",
"id": "c0c4e",
"name": "function_icon_undo",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1860,
"trimY": 379,
"width": 78,
"height": 58,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "3932da53-985d-4500-8c24-f7c822a4ea46@6c48a",
"atlasUuid": "deedea09-8f2b-400f-9803-4cfd38e45d1a",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"eb208": {
"importer": "sprite-frame",
"uuid": "deedea09-8f2b-400f-9803-4cfd38e45d1a@eb208",
@@ -3192,16 +3238,16 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1960,
"trimY": 628,
"trimX": 1945,
"trimY": 779,
"width": 60,
"height": 60,
"rawWidth": 60,
"rawHeight": 60,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"borderTop": 30,
"borderBottom": 30,
"borderLeft": 30,
"borderRight": 30,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
@@ -3238,8 +3284,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 908,
"trimY": 628,
"trimX": 1027,
"trimY": 563,
"width": 418,
"height": 57,
"rawWidth": 418,
@@ -3284,8 +3330,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 908,
"trimY": 687,
"trimX": 906,
"trimY": 622,
"width": 418,
"height": 57,
"rawWidth": 418,
@@ -3330,8 +3376,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1960,
"trimY": 690,
"trimX": 1549,
"trimY": 705,
"width": 40,
"height": 41,
"rawWidth": 40,
@@ -3373,11 +3419,11 @@
"name": "lock-4-512",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1791,
"trimY": 813,
"trimX": 2005,
"trimY": 903,
"width": 36,
"height": 50,
"rawWidth": 36,
@@ -3423,7 +3469,7 @@
"offsetX": 0,
"offsetY": 0,
"trimX": 1481,
"trimY": 471,
"trimY": 406,
"width": 109,
"height": 104,
"rawWidth": 109,
@@ -3468,8 +3514,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1965,
"trimY": 795,
"trimX": 1591,
"trimY": 705,
"width": 40,
"height": 41,
"rawWidth": 40,
@@ -3557,11 +3603,11 @@
"name": "orange",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1964,
"trimY": 85,
"trimX": 846,
"trimY": 824,
"width": 238,
"height": 58,
"rawWidth": 238,
@@ -3649,11 +3695,11 @@
"name": "pixelated header",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1651,
"trimY": 556,
"trimX": 538,
"trimY": 892,
"width": 263,
"height": 40,
"rawWidth": 263,
@@ -3698,8 +3744,8 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1854,
"trimY": 634,
"trimX": 1834,
"trimY": 705,
"width": 109,
"height": 104,
"rawWidth": 109,
@@ -3744,8 +3790,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1854,
"trimY": 745,
"trimX": 1834,
"trimY": 816,
"width": 109,
"height": 104,
"rawWidth": 109,
@@ -3790,8 +3836,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1592,
"trimY": 471,
"trimX": 1940,
"trimY": 694,
"width": 83,
"height": 83,
"rawWidth": 83,
@@ -3833,11 +3879,11 @@
"name": "small 3d blue",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1891,
"trimY": 85,
"trimX": 1620,
"trimY": 295,
"width": 231,
"height": 71,
"rawWidth": 231,
@@ -3882,8 +3928,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1149,
"trimY": 811,
"trimX": 846,
"trimY": 751,
"width": 231,
"height": 71,
"rawWidth": 231,
@@ -3928,8 +3974,8 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1802,
"trimY": 556,
"trimX": 1991,
"trimY": 43,
"width": 205,
"height": 50,
"rawWidth": 205,
@@ -3974,8 +4020,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1577,
"trimY": 808,
"trimX": 1823,
"trimY": 545,
"width": 12,
"height": 11,
"rawWidth": 12,
@@ -4020,8 +4066,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 761,
"trimY": 733,
"trimX": 1837,
"trimY": 545,
"width": 12,
"height": 11,
"rawWidth": 12,
@@ -4063,11 +4109,11 @@
"name": "warning icon",
"userData": {
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1797,
"trimY": 512,
"trimX": 802,
"trimY": 827,
"width": 41,
"height": 42,
"rawWidth": 41,
@@ -4113,7 +4159,7 @@
"offsetX": 0,
"offsetY": 0,
"trimX": 1084,
"trimY": 324,
"trimY": 259,
"width": 346,
"height": 167,
"rawWidth": 346,
@@ -4155,11 +4201,11 @@
"name": "white icon",
"userData": {
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1027,
"trimY": 500,
"trimX": 1548,
"trimY": 512,
"width": 41,
"height": 42,
"rawWidth": 41,
@@ -4204,8 +4250,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1677,
"trimY": 467,
"trimX": 1638,
"trimY": 893,
"width": 124,
"height": 43,
"rawWidth": 124,
@@ -4247,11 +4293,11 @@
"name": "whiteContainer",
"userData": {
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1620,
"trimY": 324,
"trimX": 1559,
"trimY": 76,
"width": 181,
"height": 141,
"rawWidth": 181,
@@ -4296,8 +4342,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1902,
"trimY": 851,
"trimX": 1940,
"trimY": 583,
"width": 101,
"height": 109,
"rawWidth": 101,

View File

@@ -29,19 +29,25 @@
},
{
"__id__": 26
},
{
"__id__": 34
},
{
"__id__": 40
}
],
"_active": true,
"_components": [
{
"__id__": 34
"__id__": 56
},
{
"__id__": 36
"__id__": 58
}
],
"_prefab": {
"__id__": 38
"__id__": 60
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -772,6 +778,519 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "icon",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 35
},
{
"__id__": 37
}
],
"_prefab": {
"__id__": 39
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 67.823,
"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__": 34
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "adsjORFENHk4zco1aoNf1y"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
},
"_enabled": true,
"__prefab": {
"__id__": 38
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@eb208",
"__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": "f7JmA0HNlE5oR5MLh43SRX"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "1cg6CbfY9FvL9feJwNfxWG",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "info",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 41
}
],
"_active": true,
"_components": [
{
"__id__": 49
},
{
"__id__": 51
},
{
"__id__": 53
}
],
"_prefab": {
"__id__": 55
},
"_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.Node",
"_name": "Label",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 40
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 42
},
{
"__id__": 44
},
{
"__id__": 46
}
],
"_prefab": {
"__id__": 48
},
"_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__": 41
},
"_enabled": true,
"__prefab": {
"__id__": 43
},
"_contentSize": {
"__type__": "cc.Size",
"width": 126,
"height": 90
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1aOGQdfv5H0q2IIoIV27kr"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 41
},
"_enabled": true,
"__prefab": {
"__id__": 45
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "这里时介绍这里时介绍这里时介绍这里时介绍这里时介绍这里时介绍这里时介绍这里时介绍这里时介绍这里时介绍",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 12,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 28,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 87,
"g": 87,
"b": 87,
"a": 255
},
"_outlineWidth": 1.5,
"_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": "4fS4v777RMQp/xUsCThaWQ"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 41
},
"_enabled": true,
"__prefab": {
"__id__": 47
},
"_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": 42.255859375,
"_originalHeight": 50.4,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "06IzGQ/BNGOIGJUIfTdacI"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d8LE/2vjNCvLmKwfeOOiqC",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 40
},
"_enabled": true,
"__prefab": {
"__id__": 50
},
"_contentSize": {
"__type__": "cc.Size",
"width": 136,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f0CTug1+5DT4YWLptV2Urf"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 40
},
"_enabled": true,
"__prefab": {
"__id__": 52
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@36750",
"__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": "a2Xlr4OcRI6Js0R3cNgINn"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 40
},
"_enabled": true,
"__prefab": {
"__id__": 54
},
"_alignFlags": 45,
"_target": null,
"_left": 12,
"_right": 12,
"_top": 100,
"_bottom": 40,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 133,
"_originalHeight": 45,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bck04qdDRIh5M3b1xfrq3Q"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d3exJcf3dDNoUeyFZZDsqI",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -782,7 +1301,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 35
"__id__": 57
},
"_contentSize": {
"__type__": "cc.Size",
@@ -810,7 +1329,7 @@
},
"_enabled": false,
"__prefab": {
"__id__": 37
"__id__": 59
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -854,7 +1373,6 @@
"__id__": 0
},
"fileId": "c3ePn06YJC6YTe2BxAPPm2",
"instance": null,
"targetOverrides": null
"instance": null
}
]

View File

@@ -168,7 +168,6 @@ export class HInfoComp extends CCComp {
}
show_lock(){
this.node.getChildByName("buy").active=!this.is_own()
this.node.getChildByName("lock").active=!this.is_own()
}
claear_hero(){
for (let i = 0; i < this.heroNodes.length; i++) {

View File

@@ -31,7 +31,6 @@ export class VictoryComp extends CCComp {
if(args.game_data){
this.game_data=args.game_data
}
this.node.getChildByName("title").getChildByName("victory").active=true
this.node.getChildByName("btns").getChildByName("next").active=false
this.scheduleOnce(()=>{
this.node.getChildByName("btns").getChildByName("next").active=true