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

View File

@@ -29,19 +29,25 @@
}, },
{ {
"__id__": 26 "__id__": 26
},
{
"__id__": 34
},
{
"__id__": 40
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 34 "__id__": 56
}, },
{ {
"__id__": 36 "__id__": 58
} }
], ],
"_prefab": { "_prefab": {
"__id__": 38 "__id__": 60
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -772,6 +778,519 @@
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": 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", "__type__": "cc.UITransform",
"_name": "", "_name": "",
@@ -782,7 +1301,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 35 "__id__": 57
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -810,7 +1329,7 @@
}, },
"_enabled": false, "_enabled": false,
"__prefab": { "__prefab": {
"__id__": 37 "__id__": 59
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@@ -854,7 +1373,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "c3ePn06YJC6YTe2BxAPPm2", "fileId": "c3ePn06YJC6YTe2BxAPPm2",
"instance": null, "instance": null
"targetOverrides": null
} }
] ]

View File

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

View File

@@ -31,7 +31,6 @@ export class VictoryComp extends CCComp {
if(args.game_data){ if(args.game_data){
this.game_data=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.node.getChildByName("btns").getChildByName("next").active=false
this.scheduleOnce(()=>{ this.scheduleOnce(()=>{
this.node.getChildByName("btns").getChildByName("next").active=true this.node.getChildByName("btns").getChildByName("next").active=true