diff --git a/assets/resources/gui/element/hero_card.prefab b/assets/resources/game/gui/hero_card.prefab similarity index 93% rename from assets/resources/gui/element/hero_card.prefab rename to assets/resources/game/gui/hero_card.prefab index 7eccb608..d76d5eba 100644 --- a/assets/resources/gui/element/hero_card.prefab +++ b/assets/resources/game/gui/hero_card.prefab @@ -27,6 +27,9 @@ { "__id__": 22 }, + { + "__id__": 28 + }, { "__id__": 34 }, @@ -41,10 +44,16 @@ }, { "__id__": 76 + }, + { + "__id__": 78 + }, + { + "__id__": 80 } ], "_prefab": { - "__id__": 78 + "__id__": 83 }, "_lpos": { "__type__": "cc.Vec3", @@ -521,22 +530,18 @@ "_parent": { "__id__": 1 }, - "_children": [ - { - "__id__": 23 - } - ], + "_children": [], "_active": true, "_components": [ { - "__id__": 29 + "__id__": 23 }, { - "__id__": 31 + "__id__": 25 } ], "_prefab": { - "__id__": 33 + "__id__": 27 }, "_lpos": { "__type__": "cc.Vec3", @@ -567,31 +572,117 @@ }, "_id": "" }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 24 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 89, + "height": 89 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7aA4ZvlQpNear6ycFqd468" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 26 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@008c0", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b7uI2M3YdGj6VIy7UY4akz" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e8i10bRRRABphjmj2v+NEC", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.Node", "_name": "lv", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 22 + "__id__": 1 }, "_children": [], "_active": true, "_components": [ { - "__id__": 24 + "__id__": 29 }, { - "__id__": 26 + "__id__": 31 } ], "_prefab": { - "__id__": 28 + "__id__": 33 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, - "y": 0, + "x": -45.97999999999999, + "y": 61.15300000000002, "z": 0 }, "_lrot": { @@ -603,8 +694,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.4, + "y": 0.4, "z": 1 }, "_mobility": 0, @@ -623,11 +714,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 23 + "__id__": 28 }, "_enabled": true, "__prefab": { - "__id__": 25 + "__id__": 30 }, "_contentSize": { "__type__": "cc.Size", @@ -651,11 +742,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 23 + "__id__": 28 }, "_enabled": true, "__prefab": { - "__id__": 27 + "__id__": 32 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -726,92 +817,6 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 22 - }, - "_enabled": true, - "__prefab": { - "__id__": 30 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 89, - "height": 89 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "7aA4ZvlQpNear6ycFqd468" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 22 - }, - "_enabled": true, - "__prefab": { - "__id__": 32 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@008c0", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 1, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "b7uI2M3YdGj6VIy7UY4akz" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "e8i10bRRRABphjmj2v+NEC", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", "_name": "name", @@ -973,7 +978,7 @@ }, { "__type__": "cc.Node", - "_name": "stars", + "_name": "slv", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -1043,7 +1048,7 @@ "__id__": 40 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { "__id__": 42 @@ -1179,7 +1184,7 @@ "__id__": 40 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { "__id__": 48 @@ -1315,7 +1320,7 @@ "__id__": 40 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { "__id__": 54 @@ -1451,7 +1456,7 @@ "__id__": 40 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { "__id__": 60 @@ -1587,7 +1592,7 @@ "__id__": 40 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { "__id__": 66 @@ -1825,6 +1830,95 @@ "__type__": "cc.CompPrefabInfo", "fileId": "32bpMN2RNIXbFGf0XrTQcR" }, + { + "__type__": "e50ae68DJJPcqtoSXnmOcGT", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 79 + }, + "hcc_home": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7cMkGEWuhL85u6N6BcnP89" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 81 + }, + "clickEvents": [ + { + "__id__": 82 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4eYZzd0tZCnaXQJvFU/nxf" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "e50ae68DJJPcqtoSXnmOcGT", + "handler": "show_info", + "customEventData": "" + }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/gui/element/hero_card.prefab.meta b/assets/resources/game/gui/hero_card.prefab.meta similarity index 100% rename from assets/resources/gui/element/hero_card.prefab.meta rename to assets/resources/game/gui/hero_card.prefab.meta diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 96d83b2a..181eca35 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -37,26 +37,26 @@ "__id__": 318 }, { - "__id__": 512 + "__id__": 404 }, { - "__id__": 601 + "__id__": 493 } ], "_active": true, "_components": [ { - "__id__": 607 + "__id__": 499 }, { - "__id__": 609 + "__id__": 501 }, { - "__id__": 611 + "__id__": 503 } ], "_prefab": { - "__id__": 613 + "__id__": 505 }, "_lpos": { "__type__": "cc.Vec3", @@ -6579,14 +6579,17 @@ "_active": true, "_components": [ { - "__id__": 507 + "__id__": 397 }, { - "__id__": 509 + "__id__": 399 + }, + { + "__id__": 401 } ], "_prefab": { - "__id__": 511 + "__id__": 403 }, "_lpos": { "__type__": "cc.Vec3", @@ -7200,7 +7203,7 @@ }, { "__type__": "cc.Node", - "_name": "ScrollView", + "_name": "heros", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -7220,20 +7223,20 @@ "_active": true, "_components": [ { - "__id__": 500 + "__id__": 390 }, { - "__id__": 502 + "__id__": 392 }, { "__id__": 369 }, { - "__id__": 504 + "__id__": 394 } ], "_prefab": { - "__id__": 506 + "__id__": 396 }, "_lpos": { "__type__": "cc.Vec3", @@ -7468,7 +7471,7 @@ } ], "_prefab": { - "__id__": 499 + "__id__": 389 }, "_lpos": { "__type__": "cc.Vec3", @@ -7809,55 +7812,21 @@ "_parent": { "__id__": 372 }, - "_children": [ + "_children": [], + "_active": true, + "_components": [ { "__id__": 382 }, { - "__id__": 392 + "__id__": 384 }, { - "__id__": 402 - }, - { - "__id__": 412 - }, - { - "__id__": 422 - }, - { - "__id__": 432 - }, - { - "__id__": 442 - }, - { - "__id__": 452 - }, - { - "__id__": 462 - }, - { - "__id__": 472 - }, - { - "__id__": 482 - } - ], - "_active": true, - "_components": [ - { - "__id__": 492 - }, - { - "__id__": 494 - }, - { - "__id__": 496 + "__id__": 386 } ], "_prefab": { - "__id__": 498 + "__id__": 388 }, "_lpos": { "__type__": "cc.Vec3", @@ -8093,1491 +8062,6 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 371 - }, - "_prefab": { - "__id__": 383 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 382 - }, - "asset": { - "__uuid__": "79e41d70-e29c-4986-98a4-349aa253f58e", - "__expectedType__": "cc.Prefab" - }, - "fileId": "9eIoeBQ/FAuKISfw/S9q2E", - "instance": { - "__id__": 384 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "0bY2/gEW9LEJLHiCqtbLI+", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 385 - }, - { - "__id__": 387 - }, - { - "__id__": 388 - }, - { - "__id__": 389 - }, - { - "__id__": 390 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 386 - }, - "propertyPath": [ - "_name" - ], - "value": "hero_card" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "9eIoeBQ/FAuKISfw/S9q2E" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 386 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 80, - "y": -10, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 386 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 386 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 391 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 140, - "height": 180 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "ffq0KoarVDR6W0xHCmtCV+" - ] - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 371 - }, - "_prefab": { - "__id__": 393 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 392 - }, - "asset": { - "__uuid__": "79e41d70-e29c-4986-98a4-349aa253f58e", - "__expectedType__": "cc.Prefab" - }, - "fileId": "9eIoeBQ/FAuKISfw/S9q2E", - "instance": { - "__id__": 394 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "02yUK89hVIo663GoQbA01E", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 395 - }, - { - "__id__": 397 - }, - { - "__id__": 398 - }, - { - "__id__": 399 - }, - { - "__id__": 400 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 396 - }, - "propertyPath": [ - "_name" - ], - "value": "hero_card" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "9eIoeBQ/FAuKISfw/S9q2E" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 396 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 230, - "y": -10, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 396 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 396 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 401 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 140, - "height": 180 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "ffq0KoarVDR6W0xHCmtCV+" - ] - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 371 - }, - "_prefab": { - "__id__": 403 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 402 - }, - "asset": { - "__uuid__": "79e41d70-e29c-4986-98a4-349aa253f58e", - "__expectedType__": "cc.Prefab" - }, - "fileId": "9eIoeBQ/FAuKISfw/S9q2E", - "instance": { - "__id__": 404 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "3dJN1dyy9FHZvh6jdePGIh", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 405 - }, - { - "__id__": 407 - }, - { - "__id__": 408 - }, - { - "__id__": 409 - }, - { - "__id__": 410 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 406 - }, - "propertyPath": [ - "_name" - ], - "value": "hero_card" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "9eIoeBQ/FAuKISfw/S9q2E" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 406 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 380, - "y": -10, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 406 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 406 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 411 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 140, - "height": 180 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "ffq0KoarVDR6W0xHCmtCV+" - ] - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 371 - }, - "_prefab": { - "__id__": 413 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 412 - }, - "asset": { - "__uuid__": "79e41d70-e29c-4986-98a4-349aa253f58e", - "__expectedType__": "cc.Prefab" - }, - "fileId": "9eIoeBQ/FAuKISfw/S9q2E", - "instance": { - "__id__": 414 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "39UJkUvrtA84C0T5RDxREc", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 415 - }, - { - "__id__": 417 - }, - { - "__id__": 418 - }, - { - "__id__": 419 - }, - { - "__id__": 420 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 416 - }, - "propertyPath": [ - "_name" - ], - "value": "hero_card" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "9eIoeBQ/FAuKISfw/S9q2E" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 416 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 530, - "y": -10, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 416 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 416 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 421 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 140, - "height": 180 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "ffq0KoarVDR6W0xHCmtCV+" - ] - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 371 - }, - "_prefab": { - "__id__": 423 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 422 - }, - "asset": { - "__uuid__": "79e41d70-e29c-4986-98a4-349aa253f58e", - "__expectedType__": "cc.Prefab" - }, - "fileId": "9eIoeBQ/FAuKISfw/S9q2E", - "instance": { - "__id__": 424 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "fcy94Yo1BBC5mkRRoGZynA", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 425 - }, - { - "__id__": 427 - }, - { - "__id__": 428 - }, - { - "__id__": 429 - }, - { - "__id__": 430 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 426 - }, - "propertyPath": [ - "_name" - ], - "value": "hero_card" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "9eIoeBQ/FAuKISfw/S9q2E" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 426 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 680, - "y": -10, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 426 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 426 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 431 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 140, - "height": 180 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "ffq0KoarVDR6W0xHCmtCV+" - ] - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 371 - }, - "_prefab": { - "__id__": 433 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 432 - }, - "asset": { - "__uuid__": "79e41d70-e29c-4986-98a4-349aa253f58e", - "__expectedType__": "cc.Prefab" - }, - "fileId": "9eIoeBQ/FAuKISfw/S9q2E", - "instance": { - "__id__": 434 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "77ItRyWsVGRZanD2J+hFu/", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 435 - }, - { - "__id__": 437 - }, - { - "__id__": 438 - }, - { - "__id__": 439 - }, - { - "__id__": 440 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 436 - }, - "propertyPath": [ - "_name" - ], - "value": "hero_card" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "9eIoeBQ/FAuKISfw/S9q2E" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 436 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 830, - "y": -10, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 436 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 436 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 441 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 140, - "height": 180 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "ffq0KoarVDR6W0xHCmtCV+" - ] - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 371 - }, - "_prefab": { - "__id__": 443 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 442 - }, - "asset": { - "__uuid__": "79e41d70-e29c-4986-98a4-349aa253f58e", - "__expectedType__": "cc.Prefab" - }, - "fileId": "9eIoeBQ/FAuKISfw/S9q2E", - "instance": { - "__id__": 444 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "4aIENz6JlHJ4X54SI4N/Ud", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 445 - }, - { - "__id__": 447 - }, - { - "__id__": 448 - }, - { - "__id__": 449 - }, - { - "__id__": 450 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 446 - }, - "propertyPath": [ - "_name" - ], - "value": "hero_card" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "9eIoeBQ/FAuKISfw/S9q2E" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 446 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 980, - "y": -10, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 446 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 446 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 451 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 140, - "height": 180 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "ffq0KoarVDR6W0xHCmtCV+" - ] - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 371 - }, - "_prefab": { - "__id__": 453 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 452 - }, - "asset": { - "__uuid__": "79e41d70-e29c-4986-98a4-349aa253f58e", - "__expectedType__": "cc.Prefab" - }, - "fileId": "9eIoeBQ/FAuKISfw/S9q2E", - "instance": { - "__id__": 454 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "22kHgYAD5BpreHPD186Bzv", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 455 - }, - { - "__id__": 457 - }, - { - "__id__": 458 - }, - { - "__id__": 459 - }, - { - "__id__": 460 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 456 - }, - "propertyPath": [ - "_name" - ], - "value": "hero_card" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "9eIoeBQ/FAuKISfw/S9q2E" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 456 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 1130, - "y": -10, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 456 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 456 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 461 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 140, - "height": 180 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "ffq0KoarVDR6W0xHCmtCV+" - ] - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 371 - }, - "_prefab": { - "__id__": 463 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 462 - }, - "asset": { - "__uuid__": "79e41d70-e29c-4986-98a4-349aa253f58e", - "__expectedType__": "cc.Prefab" - }, - "fileId": "9eIoeBQ/FAuKISfw/S9q2E", - "instance": { - "__id__": 464 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "5cNBR4kcNCUq9ZyVhc+G48", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 465 - }, - { - "__id__": 467 - }, - { - "__id__": 468 - }, - { - "__id__": 469 - }, - { - "__id__": 470 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 466 - }, - "propertyPath": [ - "_name" - ], - "value": "hero_card" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "9eIoeBQ/FAuKISfw/S9q2E" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 466 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 1280, - "y": -10, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 466 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 466 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 471 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 140, - "height": 180 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "ffq0KoarVDR6W0xHCmtCV+" - ] - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 371 - }, - "_prefab": { - "__id__": 473 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 472 - }, - "asset": { - "__uuid__": "79e41d70-e29c-4986-98a4-349aa253f58e", - "__expectedType__": "cc.Prefab" - }, - "fileId": "9eIoeBQ/FAuKISfw/S9q2E", - "instance": { - "__id__": 474 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "f97eKAgaNBJ48BLqkTl9Q7", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 475 - }, - { - "__id__": 477 - }, - { - "__id__": 478 - }, - { - "__id__": 479 - }, - { - "__id__": 480 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 476 - }, - "propertyPath": [ - "_name" - ], - "value": "hero_card" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "9eIoeBQ/FAuKISfw/S9q2E" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 476 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 1430, - "y": -10, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 476 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 476 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 481 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 140, - "height": 180 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "ffq0KoarVDR6W0xHCmtCV+" - ] - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 371 - }, - "_prefab": { - "__id__": 483 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 482 - }, - "asset": { - "__uuid__": "79e41d70-e29c-4986-98a4-349aa253f58e", - "__expectedType__": "cc.Prefab" - }, - "fileId": "9eIoeBQ/FAuKISfw/S9q2E", - "instance": { - "__id__": 484 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "46jaqcpHhAFZlJImNYp3GK", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 485 - }, - { - "__id__": 487 - }, - { - "__id__": 488 - }, - { - "__id__": 489 - }, - { - "__id__": 490 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 486 - }, - "propertyPath": [ - "_name" - ], - "value": "hero_card" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "9eIoeBQ/FAuKISfw/S9q2E" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 486 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 1580, - "y": -10, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 486 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 486 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 491 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 140, - "height": 180 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "ffq0KoarVDR6W0xHCmtCV+" - ] - }, { "__type__": "cc.UITransform", "_name": "", @@ -9588,7 +8072,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 493 + "__id__": 383 }, "_contentSize": { "__type__": "cc.Size", @@ -9616,7 +8100,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 495 + "__id__": 385 }, "_resizeMode": 0, "_layoutType": 3, @@ -9628,7 +8112,7 @@ "_startAxis": 1, "_paddingLeft": 10, "_paddingRight": 30, - "_paddingTop": 20, + "_paddingTop": 28, "_paddingBottom": 0, "_spacingX": 10, "_spacingY": 0, @@ -9654,7 +8138,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 497 + "__id__": 387 }, "_alignFlags": 9, "_target": null, @@ -9716,7 +8200,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 501 + "__id__": 391 }, "_contentSize": { "__type__": "cc.Size", @@ -9744,7 +8228,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 503 + "__id__": 393 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -9786,7 +8270,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 505 + "__id__": 395 }, "_alignFlags": 20, "_target": null, @@ -9835,7 +8319,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 508 + "__id__": 398 }, "_contentSize": { "__type__": "cc.Size", @@ -9863,7 +8347,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 510 + "__id__": 400 }, "_alignFlags": 45, "_target": null, @@ -9889,6 +8373,24 @@ "__type__": "cc.CompPrefabInfo", "fileId": "4ameURxcpI/qNThRrj/m3R" }, + { + "__type__": "f8304VeHLhDebOCbedMODFm", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 318 + }, + "_enabled": true, + "__prefab": { + "__id__": 402 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "75OQX2gjJNqo96DWc/aEWA" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -9912,32 +8414,32 @@ }, "_children": [ { - "__id__": 513 + "__id__": 405 }, { - "__id__": 519 + "__id__": 411 }, { - "__id__": 544 + "__id__": 436 }, { - "__id__": 569 + "__id__": 461 } ], "_active": true, "_components": [ { - "__id__": 594 + "__id__": 486 }, { - "__id__": 596 + "__id__": 488 }, { - "__id__": 598 + "__id__": 490 } ], "_prefab": { - "__id__": 600 + "__id__": 492 }, "_lpos": { "__type__": "cc.Vec3", @@ -9974,20 +8476,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 512 + "__id__": 404 }, "_children": [], "_active": true, "_components": [ { - "__id__": 514 + "__id__": 406 }, { - "__id__": 516 + "__id__": 408 } ], "_prefab": { - "__id__": 518 + "__id__": 410 }, "_lpos": { "__type__": "cc.Vec3", @@ -10024,11 +8526,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 513 + "__id__": 405 }, "_enabled": true, "__prefab": { - "__id__": 515 + "__id__": 407 }, "_contentSize": { "__type__": "cc.Size", @@ -10052,11 +8554,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 513 + "__id__": 405 }, "_enabled": true, "__prefab": { - "__id__": 517 + "__id__": 409 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -10110,30 +8612,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 512 + "__id__": 404 }, "_children": [ { - "__id__": 520 + "__id__": 412 }, { - "__id__": 526 + "__id__": 418 }, { - "__id__": 532 + "__id__": 424 } ], "_active": true, "_components": [ { - "__id__": 538 + "__id__": 430 }, { - "__id__": 540 + "__id__": 432 } ], "_prefab": { - "__id__": 543 + "__id__": 435 }, "_lpos": { "__type__": "cc.Vec3", @@ -10170,20 +8672,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 519 + "__id__": 411 }, "_children": [], "_active": true, "_components": [ { - "__id__": 521 + "__id__": 413 }, { - "__id__": 523 + "__id__": 415 } ], "_prefab": { - "__id__": 525 + "__id__": 417 }, "_lpos": { "__type__": "cc.Vec3", @@ -10220,11 +8722,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 520 + "__id__": 412 }, "_enabled": true, "__prefab": { - "__id__": 522 + "__id__": 414 }, "_contentSize": { "__type__": "cc.Size", @@ -10248,11 +8750,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 520 + "__id__": 412 }, "_enabled": true, "__prefab": { - "__id__": 524 + "__id__": 416 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -10306,20 +8808,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 519 + "__id__": 411 }, "_children": [], "_active": true, "_components": [ { - "__id__": 527 + "__id__": 419 }, { - "__id__": 529 + "__id__": 421 } ], "_prefab": { - "__id__": 531 + "__id__": 423 }, "_lpos": { "__type__": "cc.Vec3", @@ -10356,11 +8858,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 526 + "__id__": 418 }, "_enabled": true, "__prefab": { - "__id__": 528 + "__id__": 420 }, "_contentSize": { "__type__": "cc.Size", @@ -10384,11 +8886,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 526 + "__id__": 418 }, "_enabled": true, "__prefab": { - "__id__": 530 + "__id__": 422 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -10442,20 +8944,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 519 + "__id__": 411 }, "_children": [], "_active": true, "_components": [ { - "__id__": 533 + "__id__": 425 }, { - "__id__": 535 + "__id__": 427 } ], "_prefab": { - "__id__": 537 + "__id__": 429 }, "_lpos": { "__type__": "cc.Vec3", @@ -10492,11 +8994,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 532 + "__id__": 424 }, "_enabled": true, "__prefab": { - "__id__": 534 + "__id__": 426 }, "_contentSize": { "__type__": "cc.Size", @@ -10520,11 +9022,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 532 + "__id__": 424 }, "_enabled": true, "__prefab": { - "__id__": 536 + "__id__": 428 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -10601,11 +9103,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 519 + "__id__": 411 }, "_enabled": true, "__prefab": { - "__id__": 539 + "__id__": 431 }, "_contentSize": { "__type__": "cc.Size", @@ -10629,15 +9131,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 519 + "__id__": 411 }, "_enabled": true, "__prefab": { - "__id__": 541 + "__id__": 433 }, "clickEvents": [ { - "__id__": 542 + "__id__": 434 } ], "_interactable": true, @@ -10712,30 +9214,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 512 + "__id__": 404 }, "_children": [ { - "__id__": 545 + "__id__": 437 }, { - "__id__": 551 + "__id__": 443 }, { - "__id__": 557 + "__id__": 449 } ], "_active": true, "_components": [ { - "__id__": 563 + "__id__": 455 }, { - "__id__": 565 + "__id__": 457 } ], "_prefab": { - "__id__": 568 + "__id__": 460 }, "_lpos": { "__type__": "cc.Vec3", @@ -10772,20 +9274,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 544 + "__id__": 436 }, "_children": [], "_active": false, "_components": [ { - "__id__": 546 + "__id__": 438 }, { - "__id__": 548 + "__id__": 440 } ], "_prefab": { - "__id__": 550 + "__id__": 442 }, "_lpos": { "__type__": "cc.Vec3", @@ -10822,11 +9324,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 545 + "__id__": 437 }, "_enabled": true, "__prefab": { - "__id__": 547 + "__id__": 439 }, "_contentSize": { "__type__": "cc.Size", @@ -10850,11 +9352,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 545 + "__id__": 437 }, "_enabled": true, "__prefab": { - "__id__": 549 + "__id__": 441 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -10908,20 +9410,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 544 + "__id__": 436 }, "_children": [], "_active": true, "_components": [ { - "__id__": 552 + "__id__": 444 }, { - "__id__": 554 + "__id__": 446 } ], "_prefab": { - "__id__": 556 + "__id__": 448 }, "_lpos": { "__type__": "cc.Vec3", @@ -10958,11 +9460,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 551 + "__id__": 443 }, "_enabled": true, "__prefab": { - "__id__": 553 + "__id__": 445 }, "_contentSize": { "__type__": "cc.Size", @@ -10986,11 +9488,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 551 + "__id__": 443 }, "_enabled": true, "__prefab": { - "__id__": 555 + "__id__": 447 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -11044,20 +9546,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 544 + "__id__": 436 }, "_children": [], "_active": true, "_components": [ { - "__id__": 558 + "__id__": 450 }, { - "__id__": 560 + "__id__": 452 } ], "_prefab": { - "__id__": 562 + "__id__": 454 }, "_lpos": { "__type__": "cc.Vec3", @@ -11094,11 +9596,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 557 + "__id__": 449 }, "_enabled": true, "__prefab": { - "__id__": 559 + "__id__": 451 }, "_contentSize": { "__type__": "cc.Size", @@ -11122,11 +9624,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 557 + "__id__": 449 }, "_enabled": true, "__prefab": { - "__id__": 561 + "__id__": 453 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -11203,11 +9705,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 544 + "__id__": 436 }, "_enabled": true, "__prefab": { - "__id__": 564 + "__id__": 456 }, "_contentSize": { "__type__": "cc.Size", @@ -11231,15 +9733,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 544 + "__id__": 436 }, "_enabled": true, "__prefab": { - "__id__": 566 + "__id__": 458 }, "clickEvents": [ { - "__id__": 567 + "__id__": 459 } ], "_interactable": true, @@ -11314,30 +9816,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 512 + "__id__": 404 }, "_children": [ { - "__id__": 570 + "__id__": 462 }, { - "__id__": 576 + "__id__": 468 }, { - "__id__": 582 + "__id__": 474 } ], "_active": true, "_components": [ { - "__id__": 588 + "__id__": 480 }, { - "__id__": 590 + "__id__": 482 } ], "_prefab": { - "__id__": 593 + "__id__": 485 }, "_lpos": { "__type__": "cc.Vec3", @@ -11374,20 +9876,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 569 + "__id__": 461 }, "_children": [], "_active": false, "_components": [ { - "__id__": 571 + "__id__": 463 }, { - "__id__": 573 + "__id__": 465 } ], "_prefab": { - "__id__": 575 + "__id__": 467 }, "_lpos": { "__type__": "cc.Vec3", @@ -11424,11 +9926,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 570 + "__id__": 462 }, "_enabled": true, "__prefab": { - "__id__": 572 + "__id__": 464 }, "_contentSize": { "__type__": "cc.Size", @@ -11452,11 +9954,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 570 + "__id__": 462 }, "_enabled": true, "__prefab": { - "__id__": 574 + "__id__": 466 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -11510,20 +10012,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 569 + "__id__": 461 }, "_children": [], "_active": true, "_components": [ { - "__id__": 577 + "__id__": 469 }, { - "__id__": 579 + "__id__": 471 } ], "_prefab": { - "__id__": 581 + "__id__": 473 }, "_lpos": { "__type__": "cc.Vec3", @@ -11560,11 +10062,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 576 + "__id__": 468 }, "_enabled": true, "__prefab": { - "__id__": 578 + "__id__": 470 }, "_contentSize": { "__type__": "cc.Size", @@ -11588,11 +10090,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 576 + "__id__": 468 }, "_enabled": true, "__prefab": { - "__id__": 580 + "__id__": 472 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -11646,20 +10148,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 569 + "__id__": 461 }, "_children": [], "_active": true, "_components": [ { - "__id__": 583 + "__id__": 475 }, { - "__id__": 585 + "__id__": 477 } ], "_prefab": { - "__id__": 587 + "__id__": 479 }, "_lpos": { "__type__": "cc.Vec3", @@ -11696,11 +10198,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 582 + "__id__": 474 }, "_enabled": true, "__prefab": { - "__id__": 584 + "__id__": 476 }, "_contentSize": { "__type__": "cc.Size", @@ -11724,11 +10226,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 582 + "__id__": 474 }, "_enabled": true, "__prefab": { - "__id__": 586 + "__id__": 478 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -11805,11 +10307,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 569 + "__id__": 461 }, "_enabled": true, "__prefab": { - "__id__": 589 + "__id__": 481 }, "_contentSize": { "__type__": "cc.Size", @@ -11833,15 +10335,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 569 + "__id__": 461 }, "_enabled": true, "__prefab": { - "__id__": 591 + "__id__": 483 }, "clickEvents": [ { - "__id__": 592 + "__id__": 484 } ], "_interactable": true, @@ -11916,11 +10418,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 512 + "__id__": 404 }, "_enabled": true, "__prefab": { - "__id__": 595 + "__id__": 487 }, "_contentSize": { "__type__": "cc.Size", @@ -11944,11 +10446,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 512 + "__id__": 404 }, "_enabled": true, "__prefab": { - "__id__": 597 + "__id__": 489 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -11986,11 +10488,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 512 + "__id__": 404 }, "_enabled": true, "__prefab": { - "__id__": 599 + "__id__": 491 }, "_alignFlags": 20, "_target": null, @@ -12041,14 +10543,14 @@ "_active": true, "_components": [ { - "__id__": 602 + "__id__": 494 }, { - "__id__": 604 + "__id__": 496 } ], "_prefab": { - "__id__": 606 + "__id__": 498 }, "_lpos": { "__type__": "cc.Vec3", @@ -12085,11 +10587,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 601 + "__id__": 493 }, "_enabled": true, "__prefab": { - "__id__": 603 + "__id__": 495 }, "_contentSize": { "__type__": "cc.Size", @@ -12113,11 +10615,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 601 + "__id__": 493 }, "_enabled": true, "__prefab": { - "__id__": 605 + "__id__": 497 }, "_alignFlags": 12, "_target": null, @@ -12166,7 +10668,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 608 + "__id__": 500 }, "_contentSize": { "__type__": "cc.Size", @@ -12194,7 +10696,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 610 + "__id__": 502 }, "_alignFlags": 45, "_target": null, @@ -12230,7 +10732,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 612 + "__id__": 504 }, "_id": "" }, @@ -12250,39 +10752,6 @@ "instance": null, "targetOverrides": [], "nestedPrefabInstanceRoots": [ - { - "__id__": 482 - }, - { - "__id__": 472 - }, - { - "__id__": 462 - }, - { - "__id__": 452 - }, - { - "__id__": 442 - }, - { - "__id__": 432 - }, - { - "__id__": 422 - }, - { - "__id__": 412 - }, - { - "__id__": 402 - }, - { - "__id__": 392 - }, - { - "__id__": 382 - }, { "__id__": 304 }, diff --git a/assets/script/game/common/SingletonModuleComp.ts b/assets/script/game/common/SingletonModuleComp.ts index 15f39d86..d3262ab1 100644 --- a/assets/script/game/common/SingletonModuleComp.ts +++ b/assets/script/game/common/SingletonModuleComp.ts @@ -113,6 +113,8 @@ export class SingletonModuleComp extends ecs.Comp { }, heros:{ 9001:{uuid:9001,lv:1,exp:0,slv:1,stone:0}, + 9002:{uuid:9002,lv:2,exp:0,slv:2,stone:0}, + 9003:{uuid:9003,lv:3,exp:0,slv:3,stone:0}, }, talent:{ 1001:{uuid:1001,lv:0,}, diff --git a/assets/script/game/common/config/heroSet.ts b/assets/script/game/common/config/heroSet.ts index 12ec2478..6df89610 100644 --- a/assets/script/game/common/config/heroSet.ts +++ b/assets/script/game/common/config/heroSet.ts @@ -1,23 +1,31 @@ export const HeroInfo = { 9001: { - uuid:9001,name: "骑士·白",path:"k1",type:1,hp: 10, hp_up:10,def:10,def_up:1,ap:20,ap_up:2,atp:1,vun:0,crit:20,crit_add:0,dodge:0,dis:100,a_cd:1.5, + uuid:9001,name: "圣盾骑士",path:"k1",type:1,hp: 10, hp_up:10,def:10,def_up:1,ap:20,ap_up:2,atp:1,vun:0,crit:20,crit_add:0,dodge:0,dis:100,a_cd:1.5, + lvexp:2,slvexp:2, speed: 100,aep:1,uaep:1,dep:10,sk1:[9001,9001,9001,9001,9001],sk2: [2002,2002,2002,2002,2002],pw:0,pwm:15,pws:1, + akr:[10,20,30,40,50],akc:[1,1,1,1,1],uar:[10,20,30,40,50],uac:[1,1,1,1,1],dgr:[10,20,30,40,50],dgc:[1,1,1,1,1],crr:[10,20,30,40,50],crc:[1,1,1,1,1], + abh:0,abc:0,uabh:0,uabc:0,cbh:0,cbc:0,aua:0,auc:0,uaua:0,uauc:0,cua:0,cuc:0,wp:1001,arm:2001,ring:3001,shoes:4001, + }, + 9002: { + uuid:9001,name: "狂暴骑士",path:"k2",type:1,hp: 10, hp_up:10,def:10,def_up:1,ap:20,ap_up:2,atp:1,vun:0,crit:20,crit_add:0,dodge:0,dis:100,a_cd:1.5, + lvexp:2,slvexp:2, speed: 100,aep:1,uaep:1,dep:10,sk1:[9001,9001,9001,9001,9001],sk2: [2002,2002,2002,2002,2002],pw:0,pwm:15,pws:1, + akr:[10,20,30,40,50],akc:[1,1,1,1,1],uar:[10,20,30,40,50],uac:[1,1,1,1,1],dgr:[10,20,30,40,50],dgc:[1,1,1,1,1],crr:[10,20,30,40,50],crc:[1,1,1,1,1], + abh:0,abc:0,uabh:0,uabc:0,cbh:0,cbc:0,aua:0,auc:0,uaua:0,uauc:0,cua:0,cuc:0,wp:1001,arm:2001,ring:3001,shoes:4001, + }, + 9003: { + uuid:9001,name: "防御骑士",path:"k3",type:1,hp: 10, hp_up:10,def:10,def_up:1,ap:20,ap_up:2,atp:1,vun:0,crit:20,crit_add:0,dodge:0,dis:100,a_cd:1.5, lvexp:2,slvexp:2, speed: 100,aep:1,uaep:1,dep:10,sk1:[9001,9001,9001,9001,9001],sk2: [2002,2002,2002,2002,2002],pw:0,pwm:15,pws:1, akr:[10,20,30,40,50],akc:[1,1,1,1,1],uar:[10,20,30,40,50],uac:[1,1,1,1,1],dgr:[10,20,30,40,50],dgc:[1,1,1,1,1],crr:[10,20,30,40,50],crc:[1,1,1,1,1], abh:0,abc:0,uabh:0,uabc:0,cbh:0,cbc:0,aua:0,auc:0,uaua:0,uauc:0,cua:0,cuc:0,wp:1001,arm:2001,ring:3001,shoes:4001, }, - +} +export const HeroList = [9001,9002,9003] +export const MonSet = { 5001: { uuid: 5001, path: "boss1", type: 1, level: 1,cost:2, name: "骷髅王", atk: 30, hp: 150, atk_dis: 200, a_cd: 2, power: 0, power_max: 10, speed: 7, max_skill: "精准打击", skill_uuid: 1001, max_skill_uuid: 1002, atktype: 1 }, - -} - -export const MonSet = { - - } export const HeroSet = { StartPos:{ diff --git a/assets/script/game/hero/HeroCard.ts b/assets/script/game/hero/HeroCard.ts new file mode 100644 index 00000000..bc0545d7 --- /dev/null +++ b/assets/script/game/hero/HeroCard.ts @@ -0,0 +1,41 @@ +import { instantiate, Label, Prefab, resources, Sprite, SpriteAtlas } from "cc"; +import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; +import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops"; +import { HeroCardComp } from "./HeroCardComp"; +import { smc } from "../common/SingletonModuleComp"; + +/** HeroCard 模块 */ +@ecs.register(`HeroCard`) +export class HeroCard extends ecs.Entity { + + protected init() { + // this.addComponents(); + } + load(uuid:number=101,parent:any) { + // var path = "game/monster/"+prefab_path; + var path = "game/gui/hero_card"; + var icon_path = "game/heros/herois" + var prefab: Prefab = oops.res.get(path, Prefab)!; + var node = instantiate(prefab); + node.parent = parent; + node.getChildByName("name").getComponent(Label).string = smc.heros[uuid].name + resources.load(icon_path, SpriteAtlas, (err: any, atlas) => { + const sprite = node.getChildByName("Mask").getChildByName("hero").getComponent(Sprite); + sprite.spriteFrame = atlas.getSpriteFrame(smc.heros[uuid].path); + }); + node.getChildByName("lv").getComponent(Label).string = smc.vmdata.heros[uuid].lv.toString(); + if(smc.vmdata.heros[uuid].slv>=1) node.getChildByName("slv").getChildByName("s1").active=true; + if(smc.vmdata.heros[uuid].slv>=2) node.getChildByName("slv").getChildByName("s2").active=true; + if(smc.vmdata.heros[uuid].slv>=3) node.getChildByName("slv").getChildByName("s3").active=true; + if(smc.vmdata.heros[uuid].slv>=4) node.getChildByName("slv").getChildByName("s4").active=true; + if(smc.vmdata.heros[uuid].slv>=5) node.getChildByName("slv").getChildByName("s5").active=true; + let hcc = node.getComponent(HeroCardComp)!; + hcc.hcc_uuid = uuid; + this.add(hcc); + } + /** 模块资源释放 */ + destroy() { + // 注: 自定义释放逻辑,视图层实现 ecs.IComp 接口的 ecs 组件需要手动释放 + super.destroy(); + } +} diff --git a/assets/script/game/hero/HeroCard.ts.meta b/assets/script/game/hero/HeroCard.ts.meta new file mode 100644 index 00000000..3e92c9c3 --- /dev/null +++ b/assets/script/game/hero/HeroCard.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "d7e27567-5e31-483e-bd8e-c4efd272660c", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/game/hero/HeroCardComp.ts b/assets/script/game/hero/HeroCardComp.ts new file mode 100644 index 00000000..8f653965 --- /dev/null +++ b/assets/script/game/hero/HeroCardComp.ts @@ -0,0 +1,37 @@ +import { _decorator } from "cc"; +import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; +import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; +import { HeroHomeComp } from "../map/HeroHomeComp"; + +const { ccclass, property } = _decorator; + +/** 视图层对象 */ +@ccclass('HeroCardComp') +@ecs.register('HeroCardComp', false) +export class HeroCardComp extends CCComp { + @property(HeroHomeComp) + hcc_home: HeroHomeComp = null!; + hcc_uuid: number = 0; + + /** 视图层逻辑代码分离演示 */ + start() { + this.hcc_home=this.node.parent.parent.parent.parent.getComponent(HeroHomeComp); + // console.log("hero_card hcc_home",this.hcc_home) + + } + show_info(){ + this.hcc_home.hero_show(this.hcc_uuid) + } + /** 全局消息逻辑处理 */ + // private onHandler(event: string, args: any) { + // switch (event) { + // case ModuleEvent.Cmd: + // break; + // } + // } + + /** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */ + reset() { + this.node.destroy(); + } +} \ No newline at end of file diff --git a/assets/script/game/hero/HeroCardComp.ts.meta b/assets/script/game/hero/HeroCardComp.ts.meta new file mode 100644 index 00000000..175a051e --- /dev/null +++ b/assets/script/game/hero/HeroCardComp.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "e50aeebc-0c92-4f72-ab68-4979e639c193", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/game/map/HeroHomeComp.ts b/assets/script/game/map/HeroHomeComp.ts index b6658371..dd249d79 100644 --- a/assets/script/game/map/HeroHomeComp.ts +++ b/assets/script/game/map/HeroHomeComp.ts @@ -1,17 +1,8 @@ -import { _decorator,Button,EventHandler,EventTouch,Label,NodeEventType,resources,Sprite,SpriteAtlas,UITransform,v3 } from "cc"; +import { _decorator,Button,EventHandler,EventTouch,instantiate,Label,NodeEventType,Prefab,resources,Sprite,SpriteAtlas,UITransform,v3 } from "cc"; import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; -import { smc } from "../common/SingletonModuleComp"; -import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops"; -import { RandomManager } from "../../../../extensions/oops-plugin-framework/assets/core/common/random/RandomManager"; -import { SkillSet } from "../common/config/SkillSet"; -import { HeroModelComp } from "../hero/HeroModelComp"; -import { RewardSet } from "../common/config/RewardSet"; -import { GameSet } from "../common/config/BoxSet"; -import { GameMap } from "./GameMap"; -import { MapModelComp } from "./model/MapModelComp"; -import { Talent } from "../Role/Talent"; -import { Talents } from "../common/config/TalentSet"; +import { HeroList } from "../common/config/heroSet"; +import { HeroCard } from "../hero/HeroCard"; const { ccclass, property } = _decorator; /** 视图层对象 */ @@ -23,35 +14,26 @@ export class HeroHomeComp extends CCComp { } start() { - // this.load_talents() console.log("hero_home start") - + this.loads() } - load_talents(){ - let y=-70 - let pos = v3(0,y) - let talents:any= Talents - let parent= this.node.getChildByName("talents").getChildByName("view").getChildByName("content") - console.log("talents:",talents,) - const keys = Object.keys(talents); - if (keys.length === 0) { - console.log("No talents to process."); - } else { - for (const key of keys) { - const talentData = talents[key]; - let talent = ecs.getEntity(Talent); - console.log("talent:", talentData); - let uuid = talentData.uuid; - talent.load(pos, uuid, parent); - pos.y -= 140; // 更新位置 - } + loads(){ + let heros:any=HeroList + let hc:number =HeroList.length + console.log("hero_home heros:",heros,hc) + let parent= this.node.getChildByName("heros").getChildByName("view").getChildByName("content") + parent.getComponent(UITransform).width=hc*150 + console.log("parent:",parent) + for (let i = 0; i < hc; i++) { + let hcc =ecs.getEntity(HeroCard) + hcc.load(HeroList[i],parent) } - let hero_talent_content=parent.getComponent(UITransform) - hero_talent_content.height=2000 - console.log("hero_talent_content:",parent) } - /** 视图对象通过 ecs.Entity.remove(ControllerComp) 删除组件是触发组件处理自定义释放逻辑 */ + hero_show(uuid:number) { + console.log("hero_home hero_show:",uuid) + } + reset() { this.node.destroy(); }