[ { "__type__": "cc.Prefab", "_name": "", "_objFlags": 0, "_native": "", "data": { "__id__": 1 }, "optimizationPolicy": 0, "asyncLoadAssets": false }, { "__type__": "cc.Node", "_name": "user_pack_item", "_objFlags": 0, "_parent": null, "_children": [ { "__id__": 2 }, { "__id__": 5 }, { "__id__": 8 } ], "_tag": -1, "_active": true, "_components": [ { "__id__": 20 } ], "_prefab": { "__id__": 21 }, "_id": "", "_opacity": 255, "_color": { "__type__": "cc.Color", "r": 255, "g": 255, "b": 255, "a": 255 }, "_cascadeOpacityEnabled": true, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, "y": 0.5 }, "_contentSize": { "__type__": "cc.Size", "width": 136, "height": 136 }, "_rotationX": 0, "_rotationY": 0, "_scaleX": 1, "_scaleY": 1, "_position": { "__type__": "cc.Vec2", "x": 0, "y": 0 }, "_skewX": 0, "_skewY": 0, "_localZOrder": 0, "_globalZOrder": 0, "_opacityModifyRGB": false, "groupIndex": 0 }, { "__type__": "cc.Node", "_name": "pack_item_background", "_objFlags": 0, "_parent": { "__id__": 1 }, "_children": [], "_tag": -1, "_active": true, "_components": [ { "__id__": 3 } ], "_prefab": { "__id__": 4 }, "_id": "", "_opacity": 255, "_color": { "__type__": "cc.Color", "r": 255, "g": 255, "b": 255, "a": 255 }, "_cascadeOpacityEnabled": true, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, "y": 0.5 }, "_contentSize": { "__type__": "cc.Size", "width": 136, "height": 136 }, "_rotationX": 0, "_rotationY": 0, "_scaleX": 1, "_scaleY": 1, "_position": { "__type__": "cc.Vec2", "x": 0, "y": 0 }, "_skewX": 0, "_skewY": 0, "_localZOrder": 0, "_globalZOrder": 0, "_opacityModifyRGB": false, "groupIndex": 0 }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { "__id__": 2 }, "_enabled": true, "_spriteFrame": { "__uuid__": "4edcb301-9222-45bc-8bda-8dfd2a24714c" }, "_type": 0, "_sizeMode": 1, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, "y": 0 }, "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_atlas": null }, { "__type__": "cc.PrefabInfo", "root": { "__id__": 1 }, "asset": { "__uuid__": "4e76fe21-5d04-49c9-b0d4-868b2648d844" }, "fileId": "13fpUtl8BGmbPQSaVHx2WO", "sync": false }, { "__type__": "cc.Node", "_name": "pack_item_selected", "_objFlags": 0, "_parent": { "__id__": 1 }, "_children": [], "_tag": -1, "_active": false, "_components": [ { "__id__": 6 } ], "_prefab": { "__id__": 7 }, "_id": "", "_opacity": 255, "_color": { "__type__": "cc.Color", "r": 255, "g": 255, "b": 255, "a": 255 }, "_cascadeOpacityEnabled": true, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, "y": 0.5 }, "_contentSize": { "__type__": "cc.Size", "width": 132, "height": 132 }, "_rotationX": 0, "_rotationY": 0, "_scaleX": 1, "_scaleY": 1, "_position": { "__type__": "cc.Vec2", "x": 0, "y": 0 }, "_skewX": 0, "_skewY": 0, "_localZOrder": 0, "_globalZOrder": 0, "_opacityModifyRGB": false, "groupIndex": 0 }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { "__id__": 5 }, "_enabled": true, "_spriteFrame": { "__uuid__": "d0bb2fb3-b6a2-4375-b3cf-d895102ad23f" }, "_type": 0, "_sizeMode": 1, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, "y": 0 }, "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_atlas": null }, { "__type__": "cc.PrefabInfo", "root": { "__id__": 1 }, "asset": { "__uuid__": "4e76fe21-5d04-49c9-b0d4-868b2648d844" }, "fileId": "45mcjjNSZD6IkKdG/iMVB8", "sync": false }, { "__type__": "cc.Node", "_name": "itemNode", "_objFlags": 0, "_parent": { "__id__": 1 }, "_children": [ { "__id__": 9 }, { "__id__": 14 } ], "_tag": -1, "_active": false, "_components": [ { "__id__": 18 } ], "_prefab": { "__id__": 19 }, "_id": "", "_opacity": 255, "_color": { "__type__": "cc.Color", "r": 255, "g": 255, "b": 255, "a": 255 }, "_cascadeOpacityEnabled": true, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, "y": 0.5 }, "_contentSize": { "__type__": "cc.Size", "width": 136, "height": 136 }, "_rotationX": 0, "_rotationY": 0, "_scaleX": 1, "_scaleY": 1, "_position": { "__type__": "cc.Vec2", "x": 0, "y": 0 }, "_skewX": 0, "_skewY": 0, "_localZOrder": 0, "_globalZOrder": 0, "_opacityModifyRGB": false, "groupIndex": 0 }, { "__type__": "cc.Node", "_name": "itemSprite", "_objFlags": 0, "_parent": { "__id__": 8 }, "_children": [], "_tag": -1, "_active": true, "_components": [ { "__id__": 10 }, { "__id__": 11 } ], "_prefab": { "__id__": 13 }, "_id": "", "_opacity": 255, "_color": { "__type__": "cc.Color", "r": 255, "g": 255, "b": 255, "a": 255 }, "_cascadeOpacityEnabled": true, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, "y": 0.5 }, "_contentSize": { "__type__": "cc.Size", "width": 117, "height": 90 }, "_rotationX": 0, "_rotationY": 0, "_scaleX": 1, "_scaleY": 1, "_position": { "__type__": "cc.Vec2", "x": 0, "y": 0 }, "_skewX": 0, "_skewY": 0, "_localZOrder": 0, "_globalZOrder": 0, "_opacityModifyRGB": false, "groupIndex": 0 }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { "__id__": 9 }, "_enabled": true, "_spriteFrame": null, "_type": 0, "_sizeMode": 0, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, "y": 0 }, "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": false, "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_atlas": null }, { "__type__": "cc.Button", "_name": "", "_objFlags": 0, "node": { "__id__": 9 }, "_enabled": true, "transition": 1, "pressedColor": { "__type__": "cc.Color", "r": 120, "g": 120, "b": 120, "a": 255 }, "hoverColor": { "__type__": "cc.Color", "r": 255, "g": 255, "b": 255, "a": 255 }, "duration": 0.1, "zoomScale": 1.2, "clickEvents": [ { "__id__": 12 } ], "_N$interactable": true, "_N$enableAutoGrayEffect": false, "_N$normalColor": { "__type__": "cc.Color", "r": 255, "g": 255, "b": 255, "a": 255 }, "_N$disabledColor": { "__type__": "cc.Color", "r": 255, "g": 255, "b": 255, "a": 255 }, "_N$normalSprite": null, "_N$pressedSprite": { "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" }, "pressedSprite": { "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" }, "_N$hoverSprite": { "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" }, "hoverSprite": { "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" }, "_N$disabledSprite": { "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" }, "_N$target": { "__id__": 9 } }, { "__type__": "cc.ClickEvent", "target": { "__id__": 1 }, "component": "UserPackItem", "handler": "selectItem", "customEventData": "" }, { "__type__": "cc.PrefabInfo", "root": { "__id__": 1 }, "asset": { "__uuid__": "4e76fe21-5d04-49c9-b0d4-868b2648d844" }, "fileId": "82Q5LUYzlC+o3kC7VMjs7I", "sync": false }, { "__type__": "cc.Node", "_name": "countLabel", "_objFlags": 0, "_parent": { "__id__": 8 }, "_children": [], "_tag": -1, "_active": true, "_components": [ { "__id__": 15 }, { "__id__": 16 } ], "_prefab": { "__id__": 17 }, "_id": "", "_opacity": 255, "_color": { "__type__": "cc.Color", "r": 0, "g": 0, "b": 0, "a": 255 }, "_cascadeOpacityEnabled": true, "_anchorPoint": { "__type__": "cc.Vec2", "x": 1, "y": 0.5 }, "_contentSize": { "__type__": "cc.Size", "width": 12, "height": 22 }, "_rotationX": 0, "_rotationY": 0, "_scaleX": 1, "_scaleY": 1, "_position": { "__type__": "cc.Vec2", "x": 51, "y": -44 }, "_skewX": 0, "_skewY": 0, "_localZOrder": 0, "_globalZOrder": 0, "_opacityModifyRGB": false, "groupIndex": 0 }, { "__type__": "cc.Label", "_name": "", "_objFlags": 0, "node": { "__id__": 14 }, "_enabled": true, "_useOriginalSize": false, "_actualFontSize": 22, "_fontSize": 22, "_lineHeight": 22, "_enableWrapText": true, "_N$file": null, "_isSystemFontUsed": true, "_spacingX": 0, "_N$string": "1", "_N$horizontalAlign": 2, "_N$verticalAlign": 1, "_N$fontFamily": "Arial", "_N$overflow": 0 }, { "__type__": "cc.LabelOutline", "_name": "", "_objFlags": 0, "node": { "__id__": 14 }, "_enabled": true, "_color": { "__type__": "cc.Color", "r": 255, "g": 255, "b": 255, "a": 255 }, "_width": 2 }, { "__type__": "cc.PrefabInfo", "root": { "__id__": 1 }, "asset": { "__uuid__": "4e76fe21-5d04-49c9-b0d4-868b2648d844" }, "fileId": "54lZu5xNtDJo6d34Ozsf6z", "sync": false }, { "__type__": "cc.Widget", "_name": "", "_objFlags": 0, "node": { "__id__": 8 }, "_enabled": true, "alignMode": 1, "_target": null, "_alignFlags": 45, "_left": 0, "_right": 0, "_top": 0, "_bottom": 0, "_verticalCenter": 0, "_horizontalCenter": 0, "_isAbsLeft": true, "_isAbsRight": true, "_isAbsTop": true, "_isAbsBottom": true, "_isAbsHorizontalCenter": true, "_isAbsVerticalCenter": true, "_originalWidth": 0, "_originalHeight": 0 }, { "__type__": "cc.PrefabInfo", "root": { "__id__": 1 }, "asset": { "__uuid__": "4e76fe21-5d04-49c9-b0d4-868b2648d844" }, "fileId": "c6ZB9GnqtG3bgxW050RnvQ", "sync": false }, { "__type__": "b14e48VLB1PNJARj+zGMKSu", "_name": "", "_objFlags": 0, "node": { "__id__": 1 }, "_enabled": true, "backgroundNode": { "__id__": 2 }, "backgroundSelectedNode": { "__id__": 5 }, "itemNode": { "__id__": 8 }, "itemSprite": { "__id__": 10 }, "countLabel": { "__id__": 15 } }, { "__type__": "cc.PrefabInfo", "root": { "__id__": 1 }, "asset": { "__uuid__": "4e76fe21-5d04-49c9-b0d4-868b2648d844" }, "fileId": "a4RCU+NcdJZ4GkqlxjR9YV", "sync": false } ]