From ef986f92270c762f4214f640624f5ed752123c03 Mon Sep 17 00:00:00 2001 From: panw Date: Thu, 19 Dec 2024 16:38:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9D=E7=AE=B1=E7=BB=A7=E7=BB=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/resources/gui/role_controller.prefab | 2065 ++++++++++++----- .../script/game/common/SingletonModuleComp.ts | 6 +- assets/script/game/map/LuckHomeComp.ts | 96 +- 3 files changed, 1552 insertions(+), 615 deletions(-) diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 2168ddae..48dd4fdb 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -40,26 +40,26 @@ "__id__": 2372 }, { - "__id__": 2481 + "__id__": 2516 }, { - "__id__": 2649 + "__id__": 2684 } ], "_active": true, "_components": [ { - "__id__": 2783 + "__id__": 2819 }, { - "__id__": 2785 + "__id__": 2821 }, { - "__id__": 2787 + "__id__": 2823 } ], "_prefab": { - "__id__": 2789 + "__id__": 2825 }, "_lpos": { "__type__": "cc.Vec3", @@ -43862,8 +43862,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 71, - "height": 65 + "width": 67, + "height": 67 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -43899,7 +43899,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "7b0e7263-3b25-4fec-8935-abdd67c4b86d@b3f5a", + "__uuid__": "7b0e7263-3b25-4fec-8935-abdd67c4b86d@5c4dd", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -43989,7 +43989,7 @@ "component": "", "_componentId": "f8304VeHLhDebOCbedMODFm", "handler": "item_show", - "customEventData": "1001" + "customEventData": "9003" }, { "__type__": "cc.PrefabInfo", @@ -54379,23 +54379,23 @@ "__id__": 2391 }, { - "__id__": 2464 + "__id__": 2499 } ], "_active": true, "_components": [ { - "__id__": 2474 + "__id__": 2509 }, { - "__id__": 2476 + "__id__": 2511 }, { - "__id__": 2478 + "__id__": 2513 } ], "_prefab": { - "__id__": 2480 + "__id__": 2515 }, "_lpos": { "__type__": "cc.Vec3", @@ -54816,26 +54816,29 @@ "__id__": 2398 }, { - "__id__": 2410 + "__id__": 2413 }, { - "__id__": 2422 + "__id__": 2428 }, { - "__id__": 2434 + "__id__": 2443 + }, + { + "__id__": 2468 } ], "_active": true, "_components": [ { - "__id__": 2459 + "__id__": 2494 }, { - "__id__": 2461 + "__id__": 2496 } ], "_prefab": { - "__id__": 2463 + "__id__": 2498 }, "_lpos": { "__type__": "cc.Vec3", @@ -55022,10 +55025,13 @@ }, { "__id__": 2407 + }, + { + "__id__": 2409 } ], "_prefab": { - "__id__": 2409 + "__id__": 2412 }, "_lpos": { "__type__": "cc.Vec3", @@ -55042,8 +55048,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 2, - "y": 2, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -55079,8 +55085,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 1.421, - "y": -12.803, + "x": 10.372, + "y": -34.284, "z": 0 }, "_lrot": { @@ -55120,8 +55126,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 56.81982421875, - "height": 25 + "width": 100, + "height": 32 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -55159,17 +55165,17 @@ "_string": "20", "_horizontalAlign": 2, "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, + "_actualFontSize": 30, + "_fontSize": 30, "_fontFamily": "Arial", - "_lineHeight": 25, + "_lineHeight": 32, "_overflow": 2, "_enableWrapText": true, "_font": null, "_isSystemFontUsed": true, "_spacingX": 0, "_isItalic": false, - "_isBold": false, + "_isBold": true, "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, @@ -55229,8 +55235,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 71, - "height": 60 + "width": 140, + "height": 120 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -55288,6 +55294,76 @@ "__type__": "cc.CompPrefabInfo", "fileId": "68t+ODXKlAhYhPMtvw1sBM" }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2398 + }, + "_enabled": true, + "__prefab": { + "__id__": 2410 + }, + "clickEvents": [ + { + "__id__": 2411 + } + ], + "_interactable": true, + "_transition": 0, + "_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": "55gWv24L5HDrQRxfuYeuju" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 2372 + }, + "component": "", + "_componentId": "46169fV/6JFd44zLDKfNBC1", + "handler": "select_box", + "customEventData": "sb" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -55311,20 +55387,23 @@ }, "_children": [ { - "__id__": 2411 + "__id__": 2414 } ], "_active": true, "_components": [ { - "__id__": 2417 + "__id__": 2420 }, { - "__id__": 2419 + "__id__": 2422 + }, + { + "__id__": 2424 } ], "_prefab": { - "__id__": 2421 + "__id__": 2427 }, "_lpos": { "__type__": "cc.Vec3", @@ -55341,8 +55420,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 2, - "y": 2, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -55361,25 +55440,25 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2410 + "__id__": 2413 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2412 + "__id__": 2415 }, { - "__id__": 2414 + "__id__": 2417 } ], "_prefab": { - "__id__": 2416 + "__id__": 2419 }, "_lpos": { "__type__": "cc.Vec3", - "x": 1.421, - "y": -12.803, + "x": 10.372, + "y": -34.284, "z": 0 }, "_lrot": { @@ -55411,16 +55490,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2411 + "__id__": 2414 }, "_enabled": true, "__prefab": { - "__id__": 2413 + "__id__": 2416 }, "_contentSize": { "__type__": "cc.Size", - "width": 56.81982421875, - "height": 25 + "width": 100, + "height": 32 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -55439,11 +55518,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2411 + "__id__": 2414 }, "_enabled": true, "__prefab": { - "__id__": 2415 + "__id__": 2418 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -55458,17 +55537,17 @@ "_string": "20", "_horizontalAlign": 2, "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, + "_actualFontSize": 30, + "_fontSize": 30, "_fontFamily": "Arial", - "_lineHeight": 25, + "_lineHeight": 32, "_overflow": 2, "_enableWrapText": true, "_font": null, "_isSystemFontUsed": true, "_spacingX": 0, "_isItalic": false, - "_isBold": false, + "_isBold": true, "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, @@ -55520,16 +55599,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2410 + "__id__": 2413 }, "_enabled": true, "__prefab": { - "__id__": 2418 + "__id__": 2421 }, "_contentSize": { "__type__": "cc.Size", - "width": 73, - "height": 60 + "width": 140, + "height": 120 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -55548,11 +55627,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2410 + "__id__": 2413 }, "_enabled": true, "__prefab": { - "__id__": 2420 + "__id__": 2423 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -55587,6 +55666,76 @@ "__type__": "cc.CompPrefabInfo", "fileId": "42gJSwXu9PhpTvlG/YInfr" }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2413 + }, + "_enabled": true, + "__prefab": { + "__id__": 2425 + }, + "clickEvents": [ + { + "__id__": 2426 + } + ], + "_interactable": true, + "_transition": 0, + "_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": "7bhsa77ZxC45RNoBT2XqP2" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 2372 + }, + "component": "", + "_componentId": "46169fV/6JFd44zLDKfNBC1", + "handler": "select_box", + "customEventData": "mb" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -55610,20 +55759,23 @@ }, "_children": [ { - "__id__": 2423 + "__id__": 2429 } ], "_active": true, "_components": [ { - "__id__": 2429 + "__id__": 2435 }, { - "__id__": 2431 + "__id__": 2437 + }, + { + "__id__": 2439 } ], "_prefab": { - "__id__": 2433 + "__id__": 2442 }, "_lpos": { "__type__": "cc.Vec3", @@ -55640,8 +55792,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 2, - "y": 2, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -55660,25 +55812,25 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2422 + "__id__": 2428 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2424 + "__id__": 2430 }, { - "__id__": 2426 + "__id__": 2432 } ], "_prefab": { - "__id__": 2428 + "__id__": 2434 }, "_lpos": { "__type__": "cc.Vec3", - "x": 1.421, - "y": -12.803, + "x": 10.372, + "y": -34.284, "z": 0 }, "_lrot": { @@ -55710,16 +55862,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2423 + "__id__": 2429 }, "_enabled": true, "__prefab": { - "__id__": 2425 + "__id__": 2431 }, "_contentSize": { "__type__": "cc.Size", - "width": 56.81982421875, - "height": 25 + "width": 100, + "height": 32 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -55738,11 +55890,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2423 + "__id__": 2429 }, "_enabled": true, "__prefab": { - "__id__": 2427 + "__id__": 2433 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -55757,17 +55909,17 @@ "_string": "20", "_horizontalAlign": 2, "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, + "_actualFontSize": 30, + "_fontSize": 30, "_fontFamily": "Arial", - "_lineHeight": 25, + "_lineHeight": 32, "_overflow": 2, "_enableWrapText": true, "_font": null, "_isSystemFontUsed": true, "_spacingX": 0, "_isItalic": false, - "_isBold": false, + "_isBold": true, "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, @@ -55819,16 +55971,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2422 + "__id__": 2428 }, "_enabled": true, "__prefab": { - "__id__": 2430 + "__id__": 2436 }, "_contentSize": { "__type__": "cc.Size", - "width": 77, - "height": 60 + "width": 140, + "height": 120 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -55847,11 +55999,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2422 + "__id__": 2428 }, "_enabled": true, "__prefab": { - "__id__": 2432 + "__id__": 2438 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -55886,6 +56038,76 @@ "__type__": "cc.CompPrefabInfo", "fileId": "29wAtLWsBNSZGgJjleTtOO" }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2428 + }, + "_enabled": true, + "__prefab": { + "__id__": 2440 + }, + "clickEvents": [ + { + "__id__": 2441 + } + ], + "_interactable": true, + "_transition": 0, + "_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": "0boE9AzlpJNbhMYIyu3wEu" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 2372 + }, + "component": "", + "_componentId": "46169fV/6JFd44zLDKfNBC1", + "handler": "select_box", + "customEventData": "lb" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -55909,26 +56131,26 @@ }, "_children": [ { - "__id__": 2435 + "__id__": 2444 }, { - "__id__": 2441 + "__id__": 2450 }, { - "__id__": 2447 + "__id__": 2456 } ], "_active": true, "_components": [ { - "__id__": 2453 + "__id__": 2462 }, { - "__id__": 2455 + "__id__": 2464 } ], "_prefab": { - "__id__": 2458 + "__id__": 2467 }, "_lpos": { "__type__": "cc.Vec3", @@ -55961,24 +56183,24 @@ }, { "__type__": "cc.Node", - "_name": "Button01_s_Sky", + "_name": "bg", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2434 + "__id__": 2443 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2436 + "__id__": 2445 }, { - "__id__": 2438 + "__id__": 2447 } ], "_prefab": { - "__id__": 2440 + "__id__": 2449 }, "_lpos": { "__type__": "cc.Vec3", @@ -56015,11 +56237,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2435 + "__id__": 2444 }, "_enabled": true, "__prefab": { - "__id__": 2437 + "__id__": 2446 }, "_contentSize": { "__type__": "cc.Size", @@ -56043,11 +56265,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2435 + "__id__": 2444 }, "_enabled": true, "__prefab": { - "__id__": 2439 + "__id__": 2448 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -56097,24 +56319,24 @@ }, { "__type__": "cc.Node", - "_name": "ItemIcon_Key_Gold", + "_name": "bg1", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2434 + "__id__": 2443 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2442 + "__id__": 2451 }, { - "__id__": 2444 + "__id__": 2453 } ], "_prefab": { - "__id__": 2446 + "__id__": 2455 }, "_lpos": { "__type__": "cc.Vec3", @@ -56151,11 +56373,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2441 + "__id__": 2450 }, "_enabled": true, "__prefab": { - "__id__": 2443 + "__id__": 2452 }, "_contentSize": { "__type__": "cc.Size", @@ -56179,11 +56401,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2441 + "__id__": 2450 }, "_enabled": true, "__prefab": { - "__id__": 2445 + "__id__": 2454 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -56237,20 +56459,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2434 + "__id__": 2443 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2448 + "__id__": 2457 }, { - "__id__": 2450 + "__id__": 2459 } ], "_prefab": { - "__id__": 2452 + "__id__": 2461 }, "_lpos": { "__type__": "cc.Vec3", @@ -56287,11 +56509,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2447 + "__id__": 2456 }, "_enabled": true, "__prefab": { - "__id__": 2449 + "__id__": 2458 }, "_contentSize": { "__type__": "cc.Size", @@ -56315,11 +56537,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2447 + "__id__": 2456 }, "_enabled": true, "__prefab": { - "__id__": 2451 + "__id__": 2460 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -56396,11 +56618,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2434 + "__id__": 2443 }, "_enabled": true, "__prefab": { - "__id__": 2454 + "__id__": 2463 }, "_contentSize": { "__type__": "cc.Size", @@ -56424,15 +56646,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2434 + "__id__": 2443 }, "_enabled": true, "__prefab": { - "__id__": 2456 + "__id__": 2465 }, "clickEvents": [ { - "__id__": 2457 + "__id__": 2466 } ], "_interactable": true, @@ -56485,7 +56707,7 @@ }, "component": "", "_componentId": "46169fV/6JFd44zLDKfNBC1", - "handler": "show_bbox", + "handler": "to_open", "customEventData": "" }, { @@ -56501,6 +56723,615 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "btnno", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2391 + }, + "_children": [ + { + "__id__": 2469 + }, + { + "__id__": 2475 + }, + { + "__id__": 2481 + } + ], + "_active": true, + "_components": [ + { + "__id__": 2487 + }, + { + "__id__": 2489 + }, + { + "__id__": 2491 + } + ], + "_prefab": { + "__id__": 2493 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 241.66200000000003, + "y": -18.923000000000002, + "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": "bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2468 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 2470 + }, + { + "__id__": 2472 + } + ], + "_prefab": { + "__id__": 2474 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 7.379, + "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__": 2469 + }, + "_enabled": true, + "__prefab": { + "__id__": 2471 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, + "height": 114 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c1v9mXbrJK9oWq35sS5ZxW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2469 + }, + "_enabled": true, + "__prefab": { + "__id__": 2473 + }, + "_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@946c8", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bbrYGQ9wlD2aYnnQRlbcPj" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c1luiXk75Av5zFL1Q1asdY", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "bg1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2468 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 2476 + }, + { + "__id__": 2478 + } + ], + "_prefab": { + "__id__": 2480 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -36.895, + "y": 3.689, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.5, + "y": 0.5, + "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__": 2475 + }, + "_enabled": true, + "__prefab": { + "__id__": 2477 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 114, + "height": 116 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "50a95G/5VPu54xtNWZg+Tt" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2475 + }, + "_enabled": true, + "__prefab": { + "__id__": 2479 + }, + "_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@06596", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fa9/praYlFALdVrwhzmA9/" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "066RJrT+JLx7TfJsMRJFVG", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2468 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 2482 + }, + { + "__id__": 2484 + } + ], + "_prefab": { + "__id__": 2486 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 33.205, + "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__": 2481 + }, + "_enabled": true, + "__prefab": { + "__id__": 2483 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 74, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "44Lig5d5hEcrcv/JWFus2/" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2481 + }, + "_enabled": true, + "__prefab": { + "__id__": 2485 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "开箱", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 35, + "_fontSize": 35, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": true, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": true, + "_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": "bf1IBU+0NLTYB7fogHTXV/" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5bSH35AY5Owp7p+4R3mi3i", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2468 + }, + "_enabled": true, + "__prefab": { + "__id__": 2488 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3942kVJ1tJJpISRXboZp6L" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2468 + }, + "_enabled": true, + "__prefab": { + "__id__": 2490 + }, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_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": "72yfaySmxED7U7yyxSpK5G" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2468 + }, + "_enabled": true, + "__prefab": { + "__id__": 2492 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a6f/O1v2hAbpTG8O+JTkGE" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d8TXsfB99IoI8K1Ft5sU5S", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -56511,7 +57342,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 2460 + "__id__": 2495 }, "_contentSize": { "__type__": "cc.Size", @@ -56539,7 +57370,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 2462 + "__id__": 2497 }, "_alignFlags": 4, "_target": null, @@ -56588,17 +57419,17 @@ }, "_children": [ { - "__id__": 2465 + "__id__": 2500 } ], "_active": true, "_components": [ { - "__id__": 2471 + "__id__": 2506 } ], "_prefab": { - "__id__": 2473 + "__id__": 2508 }, "_lpos": { "__type__": "cc.Vec3", @@ -56635,20 +57466,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2464 + "__id__": 2499 }, "_children": [], "_active": false, "_components": [ { - "__id__": 2466 + "__id__": 2501 }, { - "__id__": 2468 + "__id__": 2503 } ], "_prefab": { - "__id__": 2470 + "__id__": 2505 }, "_lpos": { "__type__": "cc.Vec3", @@ -56685,11 +57516,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2465 + "__id__": 2500 }, "_enabled": true, "__prefab": { - "__id__": 2467 + "__id__": 2502 }, "_contentSize": { "__type__": "cc.Size", @@ -56713,11 +57544,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2465 + "__id__": 2500 }, "_enabled": true, "__prefab": { - "__id__": 2469 + "__id__": 2504 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -56771,11 +57602,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2464 + "__id__": 2499 }, "_enabled": true, "__prefab": { - "__id__": 2472 + "__id__": 2507 }, "_contentSize": { "__type__": "cc.Size", @@ -56816,7 +57647,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 2475 + "__id__": 2510 }, "_contentSize": { "__type__": "cc.Size", @@ -56844,7 +57675,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 2477 + "__id__": 2512 }, "_alignFlags": 45, "_target": null, @@ -56880,16 +57711,19 @@ }, "_enabled": true, "__prefab": { - "__id__": 2479 + "__id__": 2514 }, "sbn": { "__id__": 2398 }, "mbn": { - "__id__": 2410 + "__id__": 2413 }, "lbn": { - "__id__": 2422 + "__id__": 2428 + }, + "btnno": { + "__id__": 2468 }, "_id": "" }, @@ -56920,32 +57754,32 @@ }, "_children": [ { - "__id__": 2482 + "__id__": 2517 }, { - "__id__": 2522 + "__id__": 2557 }, { - "__id__": 2562 + "__id__": 2597 }, { - "__id__": 2602 + "__id__": 2637 } ], "_active": true, "_components": [ { - "__id__": 2642 + "__id__": 2677 }, { - "__id__": 2644 + "__id__": 2679 }, { - "__id__": 2646 + "__id__": 2681 } ], "_prefab": { - "__id__": 2648 + "__id__": 2683 }, "_lpos": { "__type__": "cc.Vec3", @@ -56982,33 +57816,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2481 + "__id__": 2516 }, "_children": [ { - "__id__": 2483 + "__id__": 2518 }, { - "__id__": 2489 + "__id__": 2524 }, { - "__id__": 2495 + "__id__": 2530 }, { - "__id__": 2505 + "__id__": 2540 } ], "_active": true, "_components": [ { - "__id__": 2517 + "__id__": 2552 }, { - "__id__": 2519 + "__id__": 2554 } ], "_prefab": { - "__id__": 2521 + "__id__": 2556 }, "_lpos": { "__type__": "cc.Vec3", @@ -57045,20 +57879,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2482 + "__id__": 2517 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2484 + "__id__": 2519 }, { - "__id__": 2486 + "__id__": 2521 } ], "_prefab": { - "__id__": 2488 + "__id__": 2523 }, "_lpos": { "__type__": "cc.Vec3", @@ -57095,11 +57929,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2483 + "__id__": 2518 }, "_enabled": true, "__prefab": { - "__id__": 2485 + "__id__": 2520 }, "_contentSize": { "__type__": "cc.Size", @@ -57123,11 +57957,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2483 + "__id__": 2518 }, "_enabled": true, "__prefab": { - "__id__": 2487 + "__id__": 2522 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -57181,20 +58015,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2482 + "__id__": 2517 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2490 + "__id__": 2525 }, { - "__id__": 2492 + "__id__": 2527 } ], "_prefab": { - "__id__": 2494 + "__id__": 2529 }, "_lpos": { "__type__": "cc.Vec3", @@ -57231,11 +58065,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2489 + "__id__": 2524 }, "_enabled": true, "__prefab": { - "__id__": 2491 + "__id__": 2526 }, "_contentSize": { "__type__": "cc.Size", @@ -57259,11 +58093,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2489 + "__id__": 2524 }, "_enabled": true, "__prefab": { - "__id__": 2493 + "__id__": 2528 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -57317,26 +58151,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2482 + "__id__": 2517 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2496 + "__id__": 2531 }, { - "__id__": 2498 + "__id__": 2533 }, { - "__id__": 2500 + "__id__": 2535 }, { - "__id__": 2502 + "__id__": 2537 } ], "_prefab": { - "__id__": 2504 + "__id__": 2539 }, "_lpos": { "__type__": "cc.Vec3", @@ -57373,11 +58207,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2495 + "__id__": 2530 }, "_enabled": true, "__prefab": { - "__id__": 2497 + "__id__": 2532 }, "_contentSize": { "__type__": "cc.Size", @@ -57401,11 +58235,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2495 + "__id__": 2530 }, "_enabled": true, "__prefab": { - "__id__": 2499 + "__id__": 2534 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -57469,11 +58303,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2495 + "__id__": 2530 }, "_enabled": true, "__prefab": { - "__id__": 2501 + "__id__": 2536 }, "_id": "" }, @@ -57487,11 +58321,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2495 + "__id__": 2530 }, "_enabled": true, "__prefab": { - "__id__": 2503 + "__id__": 2538 }, "templateMode": true, "watchPath": "data.role.gold", @@ -57524,24 +58358,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2482 + "__id__": 2517 }, "_children": [ { - "__id__": 2506 + "__id__": 2541 } ], "_active": false, "_components": [ { - "__id__": 2512 + "__id__": 2547 }, { - "__id__": 2514 + "__id__": 2549 } ], "_prefab": { - "__id__": 2516 + "__id__": 2551 }, "_lpos": { "__type__": "cc.Vec3", @@ -57578,20 +58412,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2505 + "__id__": 2540 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2507 + "__id__": 2542 }, { - "__id__": 2509 + "__id__": 2544 } ], "_prefab": { - "__id__": 2511 + "__id__": 2546 }, "_lpos": { "__type__": "cc.Vec3", @@ -57628,11 +58462,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2506 + "__id__": 2541 }, "_enabled": true, "__prefab": { - "__id__": 2508 + "__id__": 2543 }, "_contentSize": { "__type__": "cc.Size", @@ -57656,11 +58490,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2506 + "__id__": 2541 }, "_enabled": true, "__prefab": { - "__id__": 2510 + "__id__": 2545 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -57714,11 +58548,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2505 + "__id__": 2540 }, "_enabled": true, "__prefab": { - "__id__": 2513 + "__id__": 2548 }, "_contentSize": { "__type__": "cc.Size", @@ -57742,11 +58576,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2505 + "__id__": 2540 }, "_enabled": true, "__prefab": { - "__id__": 2515 + "__id__": 2550 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -57800,11 +58634,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2482 + "__id__": 2517 }, "_enabled": true, "__prefab": { - "__id__": 2518 + "__id__": 2553 }, "_contentSize": { "__type__": "cc.Size", @@ -57828,11 +58662,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2482 + "__id__": 2517 }, "_enabled": true, "__prefab": { - "__id__": 2520 + "__id__": 2555 }, "_alignFlags": 12, "_target": null, @@ -57877,33 +58711,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2481 + "__id__": 2516 }, "_children": [ { - "__id__": 2523 + "__id__": 2558 }, { - "__id__": 2529 + "__id__": 2564 }, { - "__id__": 2535 + "__id__": 2570 }, { - "__id__": 2545 + "__id__": 2580 } ], - "_active": true, + "_active": false, "_components": [ { - "__id__": 2557 + "__id__": 2592 }, { - "__id__": 2559 + "__id__": 2594 } ], "_prefab": { - "__id__": 2561 + "__id__": 2596 }, "_lpos": { "__type__": "cc.Vec3", @@ -57940,20 +58774,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2522 + "__id__": 2557 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2524 + "__id__": 2559 }, { - "__id__": 2526 + "__id__": 2561 } ], "_prefab": { - "__id__": 2528 + "__id__": 2563 }, "_lpos": { "__type__": "cc.Vec3", @@ -57990,11 +58824,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2523 + "__id__": 2558 }, "_enabled": true, "__prefab": { - "__id__": 2525 + "__id__": 2560 }, "_contentSize": { "__type__": "cc.Size", @@ -58018,11 +58852,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2523 + "__id__": 2558 }, "_enabled": true, "__prefab": { - "__id__": 2527 + "__id__": 2562 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -58076,20 +58910,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2522 + "__id__": 2557 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2530 + "__id__": 2565 }, { - "__id__": 2532 + "__id__": 2567 } ], "_prefab": { - "__id__": 2534 + "__id__": 2569 }, "_lpos": { "__type__": "cc.Vec3", @@ -58126,11 +58960,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2529 + "__id__": 2564 }, "_enabled": true, "__prefab": { - "__id__": 2531 + "__id__": 2566 }, "_contentSize": { "__type__": "cc.Size", @@ -58154,11 +58988,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2529 + "__id__": 2564 }, "_enabled": true, "__prefab": { - "__id__": 2533 + "__id__": 2568 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -58176,7 +59010,7 @@ }, "_type": 0, "_fillType": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -58212,26 +59046,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2522 + "__id__": 2557 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2536 + "__id__": 2571 }, { - "__id__": 2538 + "__id__": 2573 }, { - "__id__": 2540 + "__id__": 2575 }, { - "__id__": 2542 + "__id__": 2577 } ], "_prefab": { - "__id__": 2544 + "__id__": 2579 }, "_lpos": { "__type__": "cc.Vec3", @@ -58268,11 +59102,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2535 + "__id__": 2570 }, "_enabled": true, "__prefab": { - "__id__": 2537 + "__id__": 2572 }, "_contentSize": { "__type__": "cc.Size", @@ -58296,11 +59130,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2535 + "__id__": 2570 }, "_enabled": true, "__prefab": { - "__id__": 2539 + "__id__": 2574 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -58329,7 +59163,7 @@ "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, - "_enableOutline": true, + "_enableOutline": false, "_outlineColor": { "__type__": "cc.Color", "r": 0, @@ -58364,11 +59198,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2535 + "__id__": 2570 }, "_enabled": true, "__prefab": { - "__id__": 2541 + "__id__": 2576 }, "_id": "" }, @@ -58382,11 +59216,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2535 + "__id__": 2570 }, "_enabled": true, "__prefab": { - "__id__": 2543 + "__id__": 2578 }, "templateMode": true, "watchPath": "data.role.gold", @@ -58419,24 +59253,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2522 + "__id__": 2557 }, "_children": [ { - "__id__": 2546 + "__id__": 2581 } ], "_active": false, "_components": [ { - "__id__": 2552 + "__id__": 2587 }, { - "__id__": 2554 + "__id__": 2589 } ], "_prefab": { - "__id__": 2556 + "__id__": 2591 }, "_lpos": { "__type__": "cc.Vec3", @@ -58473,20 +59307,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2545 + "__id__": 2580 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2547 + "__id__": 2582 }, { - "__id__": 2549 + "__id__": 2584 } ], "_prefab": { - "__id__": 2551 + "__id__": 2586 }, "_lpos": { "__type__": "cc.Vec3", @@ -58523,11 +59357,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2546 + "__id__": 2581 }, "_enabled": true, "__prefab": { - "__id__": 2548 + "__id__": 2583 }, "_contentSize": { "__type__": "cc.Size", @@ -58551,11 +59385,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2546 + "__id__": 2581 }, "_enabled": true, "__prefab": { - "__id__": 2550 + "__id__": 2585 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -58609,11 +59443,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2545 + "__id__": 2580 }, "_enabled": true, "__prefab": { - "__id__": 2553 + "__id__": 2588 }, "_contentSize": { "__type__": "cc.Size", @@ -58637,11 +59471,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2545 + "__id__": 2580 }, "_enabled": true, "__prefab": { - "__id__": 2555 + "__id__": 2590 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -58695,11 +59529,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2522 + "__id__": 2557 }, "_enabled": true, "__prefab": { - "__id__": 2558 + "__id__": 2593 }, "_contentSize": { "__type__": "cc.Size", @@ -58723,11 +59557,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2522 + "__id__": 2557 }, "_enabled": true, "__prefab": { - "__id__": 2560 + "__id__": 2595 }, "_alignFlags": 12, "_target": null, @@ -58772,33 +59606,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2481 + "__id__": 2516 }, "_children": [ { - "__id__": 2563 + "__id__": 2598 }, { - "__id__": 2569 + "__id__": 2604 }, { - "__id__": 2575 + "__id__": 2610 }, { - "__id__": 2585 + "__id__": 2620 } ], "_active": false, "_components": [ { - "__id__": 2597 + "__id__": 2632 }, { - "__id__": 2599 + "__id__": 2634 } ], "_prefab": { - "__id__": 2601 + "__id__": 2636 }, "_lpos": { "__type__": "cc.Vec3", @@ -58835,20 +59669,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2562 + "__id__": 2597 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2564 + "__id__": 2599 }, { - "__id__": 2566 + "__id__": 2601 } ], "_prefab": { - "__id__": 2568 + "__id__": 2603 }, "_lpos": { "__type__": "cc.Vec3", @@ -58885,11 +59719,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2563 + "__id__": 2598 }, "_enabled": true, "__prefab": { - "__id__": 2565 + "__id__": 2600 }, "_contentSize": { "__type__": "cc.Size", @@ -58913,11 +59747,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2563 + "__id__": 2598 }, "_enabled": true, "__prefab": { - "__id__": 2567 + "__id__": 2602 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -58971,20 +59805,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2562 + "__id__": 2597 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2570 + "__id__": 2605 }, { - "__id__": 2572 + "__id__": 2607 } ], "_prefab": { - "__id__": 2574 + "__id__": 2609 }, "_lpos": { "__type__": "cc.Vec3", @@ -59021,11 +59855,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2569 + "__id__": 2604 }, "_enabled": true, "__prefab": { - "__id__": 2571 + "__id__": 2606 }, "_contentSize": { "__type__": "cc.Size", @@ -59049,11 +59883,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2569 + "__id__": 2604 }, "_enabled": true, "__prefab": { - "__id__": 2573 + "__id__": 2608 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -59107,26 +59941,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2562 + "__id__": 2597 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2576 + "__id__": 2611 }, { - "__id__": 2578 + "__id__": 2613 }, { - "__id__": 2580 + "__id__": 2615 }, { - "__id__": 2582 + "__id__": 2617 } ], "_prefab": { - "__id__": 2584 + "__id__": 2619 }, "_lpos": { "__type__": "cc.Vec3", @@ -59163,11 +59997,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2575 + "__id__": 2610 }, "_enabled": true, "__prefab": { - "__id__": 2577 + "__id__": 2612 }, "_contentSize": { "__type__": "cc.Size", @@ -59191,11 +60025,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2575 + "__id__": 2610 }, "_enabled": true, "__prefab": { - "__id__": 2579 + "__id__": 2614 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -59259,11 +60093,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2575 + "__id__": 2610 }, "_enabled": true, "__prefab": { - "__id__": 2581 + "__id__": 2616 }, "_id": "" }, @@ -59277,11 +60111,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2575 + "__id__": 2610 }, "_enabled": true, "__prefab": { - "__id__": 2583 + "__id__": 2618 }, "templateMode": true, "watchPath": "data.role.gold", @@ -59314,24 +60148,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2562 + "__id__": 2597 }, "_children": [ { - "__id__": 2586 + "__id__": 2621 } ], "_active": false, "_components": [ { - "__id__": 2592 + "__id__": 2627 }, { - "__id__": 2594 + "__id__": 2629 } ], "_prefab": { - "__id__": 2596 + "__id__": 2631 }, "_lpos": { "__type__": "cc.Vec3", @@ -59368,20 +60202,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2585 + "__id__": 2620 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2587 + "__id__": 2622 }, { - "__id__": 2589 + "__id__": 2624 } ], "_prefab": { - "__id__": 2591 + "__id__": 2626 }, "_lpos": { "__type__": "cc.Vec3", @@ -59418,11 +60252,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2586 + "__id__": 2621 }, "_enabled": true, "__prefab": { - "__id__": 2588 + "__id__": 2623 }, "_contentSize": { "__type__": "cc.Size", @@ -59446,11 +60280,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2586 + "__id__": 2621 }, "_enabled": true, "__prefab": { - "__id__": 2590 + "__id__": 2625 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -59504,11 +60338,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2585 + "__id__": 2620 }, "_enabled": true, "__prefab": { - "__id__": 2593 + "__id__": 2628 }, "_contentSize": { "__type__": "cc.Size", @@ -59532,11 +60366,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2585 + "__id__": 2620 }, "_enabled": true, "__prefab": { - "__id__": 2595 + "__id__": 2630 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -59590,11 +60424,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2562 + "__id__": 2597 }, "_enabled": true, "__prefab": { - "__id__": 2598 + "__id__": 2633 }, "_contentSize": { "__type__": "cc.Size", @@ -59618,11 +60452,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2562 + "__id__": 2597 }, "_enabled": true, "__prefab": { - "__id__": 2600 + "__id__": 2635 }, "_alignFlags": 12, "_target": null, @@ -59667,33 +60501,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2481 + "__id__": 2516 }, "_children": [ { - "__id__": 2603 + "__id__": 2638 }, { - "__id__": 2609 + "__id__": 2644 }, { - "__id__": 2615 + "__id__": 2650 }, { - "__id__": 2625 + "__id__": 2660 } ], "_active": false, "_components": [ { - "__id__": 2637 + "__id__": 2672 }, { - "__id__": 2639 + "__id__": 2674 } ], "_prefab": { - "__id__": 2641 + "__id__": 2676 }, "_lpos": { "__type__": "cc.Vec3", @@ -59730,20 +60564,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2602 + "__id__": 2637 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2604 + "__id__": 2639 }, { - "__id__": 2606 + "__id__": 2641 } ], "_prefab": { - "__id__": 2608 + "__id__": 2643 }, "_lpos": { "__type__": "cc.Vec3", @@ -59780,11 +60614,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2603 + "__id__": 2638 }, "_enabled": true, "__prefab": { - "__id__": 2605 + "__id__": 2640 }, "_contentSize": { "__type__": "cc.Size", @@ -59808,11 +60642,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2603 + "__id__": 2638 }, "_enabled": true, "__prefab": { - "__id__": 2607 + "__id__": 2642 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -59866,20 +60700,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2602 + "__id__": 2637 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2610 + "__id__": 2645 }, { - "__id__": 2612 + "__id__": 2647 } ], "_prefab": { - "__id__": 2614 + "__id__": 2649 }, "_lpos": { "__type__": "cc.Vec3", @@ -59916,11 +60750,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2609 + "__id__": 2644 }, "_enabled": true, "__prefab": { - "__id__": 2611 + "__id__": 2646 }, "_contentSize": { "__type__": "cc.Size", @@ -59944,11 +60778,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2609 + "__id__": 2644 }, "_enabled": true, "__prefab": { - "__id__": 2613 + "__id__": 2648 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -60002,26 +60836,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2602 + "__id__": 2637 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2616 + "__id__": 2651 }, { - "__id__": 2618 + "__id__": 2653 }, { - "__id__": 2620 + "__id__": 2655 }, { - "__id__": 2622 + "__id__": 2657 } ], "_prefab": { - "__id__": 2624 + "__id__": 2659 }, "_lpos": { "__type__": "cc.Vec3", @@ -60058,11 +60892,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2615 + "__id__": 2650 }, "_enabled": true, "__prefab": { - "__id__": 2617 + "__id__": 2652 }, "_contentSize": { "__type__": "cc.Size", @@ -60086,11 +60920,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2615 + "__id__": 2650 }, "_enabled": true, "__prefab": { - "__id__": 2619 + "__id__": 2654 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -60154,11 +60988,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2615 + "__id__": 2650 }, "_enabled": true, "__prefab": { - "__id__": 2621 + "__id__": 2656 }, "_id": "" }, @@ -60172,11 +61006,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2615 + "__id__": 2650 }, "_enabled": true, "__prefab": { - "__id__": 2623 + "__id__": 2658 }, "templateMode": true, "watchPath": "data.role.gold", @@ -60209,24 +61043,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2602 + "__id__": 2637 }, "_children": [ { - "__id__": 2626 + "__id__": 2661 } ], "_active": false, "_components": [ { - "__id__": 2632 + "__id__": 2667 }, { - "__id__": 2634 + "__id__": 2669 } ], "_prefab": { - "__id__": 2636 + "__id__": 2671 }, "_lpos": { "__type__": "cc.Vec3", @@ -60263,20 +61097,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2625 + "__id__": 2660 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2627 + "__id__": 2662 }, { - "__id__": 2629 + "__id__": 2664 } ], "_prefab": { - "__id__": 2631 + "__id__": 2666 }, "_lpos": { "__type__": "cc.Vec3", @@ -60313,11 +61147,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2626 + "__id__": 2661 }, "_enabled": true, "__prefab": { - "__id__": 2628 + "__id__": 2663 }, "_contentSize": { "__type__": "cc.Size", @@ -60341,11 +61175,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2626 + "__id__": 2661 }, "_enabled": true, "__prefab": { - "__id__": 2630 + "__id__": 2665 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -60399,11 +61233,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2625 + "__id__": 2660 }, "_enabled": true, "__prefab": { - "__id__": 2633 + "__id__": 2668 }, "_contentSize": { "__type__": "cc.Size", @@ -60427,11 +61261,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2625 + "__id__": 2660 }, "_enabled": true, "__prefab": { - "__id__": 2635 + "__id__": 2670 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -60485,11 +61319,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2602 + "__id__": 2637 }, "_enabled": true, "__prefab": { - "__id__": 2638 + "__id__": 2673 }, "_contentSize": { "__type__": "cc.Size", @@ -60513,11 +61347,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2602 + "__id__": 2637 }, "_enabled": true, "__prefab": { - "__id__": 2640 + "__id__": 2675 }, "_alignFlags": 12, "_target": null, @@ -60562,11 +61396,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2481 + "__id__": 2516 }, "_enabled": true, "__prefab": { - "__id__": 2643 + "__id__": 2678 }, "_contentSize": { "__type__": "cc.Size", @@ -60590,11 +61424,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2481 + "__id__": 2516 }, "_enabled": true, "__prefab": { - "__id__": 2645 + "__id__": 2680 }, "_alignFlags": 41, "_target": null, @@ -60626,11 +61460,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2481 + "__id__": 2516 }, "_enabled": true, "__prefab": { - "__id__": 2647 + "__id__": 2682 }, "_resizeMode": 0, "_layoutType": 1, @@ -60681,44 +61515,44 @@ }, "_children": [ { - "__id__": 2650 + "__id__": 2685 }, { - "__id__": 2656 + "__id__": 2691 }, { - "__id__": 2662 + "__id__": 2697 }, { - "__id__": 2681 + "__id__": 2716 }, { - "__id__": 2700 + "__id__": 2735 }, { - "__id__": 2719 + "__id__": 2754 }, { - "__id__": 2738 + "__id__": 2773 }, { - "__id__": 2757 + "__id__": 2793 } ], "_active": true, "_components": [ { - "__id__": 2776 + "__id__": 2812 }, { - "__id__": 2778 + "__id__": 2814 }, { - "__id__": 2780 + "__id__": 2816 } ], "_prefab": { - "__id__": 2782 + "__id__": 2818 }, "_lpos": { "__type__": "cc.Vec3", @@ -60755,20 +61589,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2649 + "__id__": 2684 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2651 + "__id__": 2686 }, { - "__id__": 2653 + "__id__": 2688 } ], "_prefab": { - "__id__": 2655 + "__id__": 2690 }, "_lpos": { "__type__": "cc.Vec3", @@ -60805,11 +61639,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2650 + "__id__": 2685 }, "_enabled": true, "__prefab": { - "__id__": 2652 + "__id__": 2687 }, "_contentSize": { "__type__": "cc.Size", @@ -60833,11 +61667,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2650 + "__id__": 2685 }, "_enabled": true, "__prefab": { - "__id__": 2654 + "__id__": 2689 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -60891,20 +61725,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2649 + "__id__": 2684 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2657 + "__id__": 2692 }, { - "__id__": 2659 + "__id__": 2694 } ], "_prefab": { - "__id__": 2661 + "__id__": 2696 }, "_lpos": { "__type__": "cc.Vec3", @@ -60941,11 +61775,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2656 + "__id__": 2691 }, "_enabled": true, "__prefab": { - "__id__": 2658 + "__id__": 2693 }, "_contentSize": { "__type__": "cc.Size", @@ -60969,11 +61803,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2656 + "__id__": 2691 }, "_enabled": true, "__prefab": { - "__id__": 2660 + "__id__": 2695 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -61027,27 +61861,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2649 + "__id__": 2684 }, "_children": [ { - "__id__": 2663 + "__id__": 2698 }, { - "__id__": 2669 + "__id__": 2704 } ], "_active": false, "_components": [ { - "__id__": 2675 + "__id__": 2710 }, { - "__id__": 2677 + "__id__": 2712 } ], "_prefab": { - "__id__": 2680 + "__id__": 2715 }, "_lpos": { "__type__": "cc.Vec3", @@ -61084,20 +61918,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2662 + "__id__": 2697 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2664 + "__id__": 2699 }, { - "__id__": 2666 + "__id__": 2701 } ], "_prefab": { - "__id__": 2668 + "__id__": 2703 }, "_lpos": { "__type__": "cc.Vec3", @@ -61134,11 +61968,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2663 + "__id__": 2698 }, "_enabled": true, "__prefab": { - "__id__": 2665 + "__id__": 2700 }, "_contentSize": { "__type__": "cc.Size", @@ -61162,11 +61996,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2663 + "__id__": 2698 }, "_enabled": true, "__prefab": { - "__id__": 2667 + "__id__": 2702 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -61220,20 +62054,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2662 + "__id__": 2697 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2670 + "__id__": 2705 }, { - "__id__": 2672 + "__id__": 2707 } ], "_prefab": { - "__id__": 2674 + "__id__": 2709 }, "_lpos": { "__type__": "cc.Vec3", @@ -61270,11 +62104,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2669 + "__id__": 2704 }, "_enabled": true, "__prefab": { - "__id__": 2671 + "__id__": 2706 }, "_contentSize": { "__type__": "cc.Size", @@ -61298,11 +62132,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2669 + "__id__": 2704 }, "_enabled": true, "__prefab": { - "__id__": 2673 + "__id__": 2708 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -61379,11 +62213,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2662 + "__id__": 2697 }, "_enabled": true, "__prefab": { - "__id__": 2676 + "__id__": 2711 }, "_contentSize": { "__type__": "cc.Size", @@ -61407,15 +62241,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2662 + "__id__": 2697 }, "_enabled": true, "__prefab": { - "__id__": 2678 + "__id__": 2713 }, "clickEvents": [ { - "__id__": 2679 + "__id__": 2714 } ], "_interactable": true, @@ -61490,27 +62324,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2649 + "__id__": 2684 }, "_children": [ { - "__id__": 2682 + "__id__": 2717 }, { - "__id__": 2688 + "__id__": 2723 } ], "_active": true, "_components": [ { - "__id__": 2694 + "__id__": 2729 }, { - "__id__": 2696 + "__id__": 2731 } ], "_prefab": { - "__id__": 2699 + "__id__": 2734 }, "_lpos": { "__type__": "cc.Vec3", @@ -61547,20 +62381,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2681 + "__id__": 2716 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2683 + "__id__": 2718 }, { - "__id__": 2685 + "__id__": 2720 } ], "_prefab": { - "__id__": 2687 + "__id__": 2722 }, "_lpos": { "__type__": "cc.Vec3", @@ -61597,11 +62431,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2682 + "__id__": 2717 }, "_enabled": true, "__prefab": { - "__id__": 2684 + "__id__": 2719 }, "_contentSize": { "__type__": "cc.Size", @@ -61625,11 +62459,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2682 + "__id__": 2717 }, "_enabled": true, "__prefab": { - "__id__": 2686 + "__id__": 2721 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -61683,20 +62517,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2681 + "__id__": 2716 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2689 + "__id__": 2724 }, { - "__id__": 2691 + "__id__": 2726 } ], "_prefab": { - "__id__": 2693 + "__id__": 2728 }, "_lpos": { "__type__": "cc.Vec3", @@ -61733,11 +62567,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2688 + "__id__": 2723 }, "_enabled": true, "__prefab": { - "__id__": 2690 + "__id__": 2725 }, "_contentSize": { "__type__": "cc.Size", @@ -61761,11 +62595,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2688 + "__id__": 2723 }, "_enabled": true, "__prefab": { - "__id__": 2692 + "__id__": 2727 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -61842,11 +62676,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2681 + "__id__": 2716 }, "_enabled": true, "__prefab": { - "__id__": 2695 + "__id__": 2730 }, "_contentSize": { "__type__": "cc.Size", @@ -61870,15 +62704,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2681 + "__id__": 2716 }, "_enabled": true, "__prefab": { - "__id__": 2697 + "__id__": 2732 }, "clickEvents": [ { - "__id__": 2698 + "__id__": 2733 } ], "_interactable": true, @@ -61953,27 +62787,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2649 + "__id__": 2684 }, "_children": [ { - "__id__": 2701 + "__id__": 2736 }, { - "__id__": 2707 + "__id__": 2742 } ], "_active": true, "_components": [ { - "__id__": 2713 + "__id__": 2748 }, { - "__id__": 2715 + "__id__": 2750 } ], "_prefab": { - "__id__": 2718 + "__id__": 2753 }, "_lpos": { "__type__": "cc.Vec3", @@ -62010,20 +62844,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2700 + "__id__": 2735 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2702 + "__id__": 2737 }, { - "__id__": 2704 + "__id__": 2739 } ], "_prefab": { - "__id__": 2706 + "__id__": 2741 }, "_lpos": { "__type__": "cc.Vec3", @@ -62060,16 +62894,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2701 + "__id__": 2736 }, "_enabled": true, "__prefab": { - "__id__": 2703 + "__id__": 2738 }, "_contentSize": { "__type__": "cc.Size", - "width": 123, - "height": 100 + "width": 116, + "height": 106 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -62088,11 +62922,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2701 + "__id__": 2736 }, "_enabled": true, "__prefab": { - "__id__": 2705 + "__id__": 2740 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -62110,7 +62944,7 @@ }, "_type": 0, "_fillType": 0, - "_sizeMode": 0, + "_sizeMode": 1, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -62146,20 +62980,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2700 + "__id__": 2735 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2708 + "__id__": 2743 }, { - "__id__": 2710 + "__id__": 2745 } ], "_prefab": { - "__id__": 2712 + "__id__": 2747 }, "_lpos": { "__type__": "cc.Vec3", @@ -62196,11 +63030,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2707 + "__id__": 2742 }, "_enabled": true, "__prefab": { - "__id__": 2709 + "__id__": 2744 }, "_contentSize": { "__type__": "cc.Size", @@ -62224,11 +63058,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2707 + "__id__": 2742 }, "_enabled": true, "__prefab": { - "__id__": 2711 + "__id__": 2746 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -62305,11 +63139,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2700 + "__id__": 2735 }, "_enabled": true, "__prefab": { - "__id__": 2714 + "__id__": 2749 }, "_contentSize": { "__type__": "cc.Size", @@ -62333,15 +63167,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2700 + "__id__": 2735 }, "_enabled": true, "__prefab": { - "__id__": 2716 + "__id__": 2751 }, "clickEvents": [ { - "__id__": 2717 + "__id__": 2752 } ], "_interactable": true, @@ -62416,27 +63250,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2649 + "__id__": 2684 }, "_children": [ { - "__id__": 2720 + "__id__": 2755 }, { - "__id__": 2726 + "__id__": 2761 } ], "_active": true, "_components": [ { - "__id__": 2732 + "__id__": 2767 }, { - "__id__": 2734 + "__id__": 2769 } ], "_prefab": { - "__id__": 2737 + "__id__": 2772 }, "_lpos": { "__type__": "cc.Vec3", @@ -62473,20 +63307,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2719 + "__id__": 2754 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2721 + "__id__": 2756 }, { - "__id__": 2723 + "__id__": 2758 } ], "_prefab": { - "__id__": 2725 + "__id__": 2760 }, "_lpos": { "__type__": "cc.Vec3", @@ -62523,16 +63357,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2720 + "__id__": 2755 }, "_enabled": true, "__prefab": { - "__id__": 2722 + "__id__": 2757 }, "_contentSize": { "__type__": "cc.Size", "width": 117, - "height": 100 + "height": 109 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -62551,11 +63385,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2720 + "__id__": 2755 }, "_enabled": true, "__prefab": { - "__id__": 2724 + "__id__": 2759 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -62573,7 +63407,7 @@ }, "_type": 0, "_fillType": 0, - "_sizeMode": 0, + "_sizeMode": 1, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -62609,20 +63443,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2719 + "__id__": 2754 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2727 + "__id__": 2762 }, { - "__id__": 2729 + "__id__": 2764 } ], "_prefab": { - "__id__": 2731 + "__id__": 2766 }, "_lpos": { "__type__": "cc.Vec3", @@ -62659,11 +63493,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2726 + "__id__": 2761 }, "_enabled": true, "__prefab": { - "__id__": 2728 + "__id__": 2763 }, "_contentSize": { "__type__": "cc.Size", @@ -62687,11 +63521,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2726 + "__id__": 2761 }, "_enabled": true, "__prefab": { - "__id__": 2730 + "__id__": 2765 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -62768,11 +63602,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2719 + "__id__": 2754 }, "_enabled": true, "__prefab": { - "__id__": 2733 + "__id__": 2768 }, "_contentSize": { "__type__": "cc.Size", @@ -62796,15 +63630,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2719 + "__id__": 2754 }, "_enabled": true, "__prefab": { - "__id__": 2735 + "__id__": 2770 }, "clickEvents": [ { - "__id__": 2736 + "__id__": 2771 } ], "_interactable": true, @@ -62879,27 +63713,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2649 + "__id__": 2684 }, "_children": [ { - "__id__": 2739 + "__id__": 2774 }, { - "__id__": 2745 + "__id__": 2780 } ], "_active": true, "_components": [ { - "__id__": 2751 + "__id__": 2786 }, { - "__id__": 2753 + "__id__": 2788 } ], "_prefab": { - "__id__": 2756 + "__id__": 2792 }, "_lpos": { "__type__": "cc.Vec3", @@ -62936,20 +63770,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2738 + "__id__": 2773 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2740 + "__id__": 2775 }, { - "__id__": 2742 + "__id__": 2777 } ], "_prefab": { - "__id__": 2744 + "__id__": 2779 }, "_lpos": { "__type__": "cc.Vec3", @@ -62986,16 +63820,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2739 + "__id__": 2774 }, "_enabled": true, "__prefab": { - "__id__": 2741 + "__id__": 2776 }, "_contentSize": { "__type__": "cc.Size", - "width": 67, - "height": 67 + "width": 73, + "height": 61 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -63014,11 +63848,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2739 + "__id__": 2774 }, "_enabled": true, "__prefab": { - "__id__": 2743 + "__id__": 2778 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -63031,7 +63865,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "7b0e7263-3b25-4fec-8935-abdd67c4b86d@5c4dd", + "__uuid__": "7b0e7263-3b25-4fec-8935-abdd67c4b86d@f8120", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -63072,20 +63906,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2738 + "__id__": 2773 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2746 + "__id__": 2781 }, { - "__id__": 2748 + "__id__": 2783 } ], "_prefab": { - "__id__": 2750 + "__id__": 2785 }, "_lpos": { "__type__": "cc.Vec3", @@ -63122,11 +63956,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2745 + "__id__": 2780 }, "_enabled": true, "__prefab": { - "__id__": 2747 + "__id__": 2782 }, "_contentSize": { "__type__": "cc.Size", @@ -63150,11 +63984,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2745 + "__id__": 2780 }, "_enabled": true, "__prefab": { - "__id__": 2749 + "__id__": 2784 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -63231,11 +64065,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2738 + "__id__": 2773 }, "_enabled": true, "__prefab": { - "__id__": 2752 + "__id__": 2787 }, "_contentSize": { "__type__": "cc.Size", @@ -63259,15 +64093,18 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2738 + "__id__": 2773 }, "_enabled": true, "__prefab": { - "__id__": 2754 + "__id__": 2789 }, "clickEvents": [ { - "__id__": 2755 + "__id__": 2790 + }, + { + "__id__": 2791 } ], "_interactable": true, @@ -63323,6 +64160,16 @@ "handler": "bar_change", "customEventData": "luck" }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 2372 + }, + "component": "", + "_componentId": "46169fV/6JFd44zLDKfNBC1", + "handler": "frist", + "customEventData": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -63342,27 +64189,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2649 + "__id__": 2684 }, "_children": [ { - "__id__": 2758 + "__id__": 2794 }, { - "__id__": 2764 + "__id__": 2800 } ], "_active": true, "_components": [ { - "__id__": 2770 + "__id__": 2806 }, { - "__id__": 2772 + "__id__": 2808 } ], "_prefab": { - "__id__": 2775 + "__id__": 2811 }, "_lpos": { "__type__": "cc.Vec3", @@ -63399,20 +64246,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2757 + "__id__": 2793 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2759 + "__id__": 2795 }, { - "__id__": 2761 + "__id__": 2797 } ], "_prefab": { - "__id__": 2763 + "__id__": 2799 }, "_lpos": { "__type__": "cc.Vec3", @@ -63449,11 +64296,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2758 + "__id__": 2794 }, "_enabled": true, "__prefab": { - "__id__": 2760 + "__id__": 2796 }, "_contentSize": { "__type__": "cc.Size", @@ -63477,11 +64324,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2758 + "__id__": 2794 }, "_enabled": true, "__prefab": { - "__id__": 2762 + "__id__": 2798 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -63499,7 +64346,7 @@ }, "_type": 0, "_fillType": 0, - "_sizeMode": 0, + "_sizeMode": 1, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -63535,20 +64382,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2757 + "__id__": 2793 }, "_children": [], "_active": true, "_components": [ { - "__id__": 2765 + "__id__": 2801 }, { - "__id__": 2767 + "__id__": 2803 } ], "_prefab": { - "__id__": 2769 + "__id__": 2805 }, "_lpos": { "__type__": "cc.Vec3", @@ -63585,11 +64432,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2764 + "__id__": 2800 }, "_enabled": true, "__prefab": { - "__id__": 2766 + "__id__": 2802 }, "_contentSize": { "__type__": "cc.Size", @@ -63613,11 +64460,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2764 + "__id__": 2800 }, "_enabled": true, "__prefab": { - "__id__": 2768 + "__id__": 2804 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -63694,11 +64541,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2757 + "__id__": 2793 }, "_enabled": true, "__prefab": { - "__id__": 2771 + "__id__": 2807 }, "_contentSize": { "__type__": "cc.Size", @@ -63722,15 +64569,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2757 + "__id__": 2793 }, "_enabled": true, "__prefab": { - "__id__": 2773 + "__id__": 2809 }, "clickEvents": [ { - "__id__": 2774 + "__id__": 2810 } ], "_interactable": false, @@ -63805,11 +64652,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2649 + "__id__": 2684 }, "_enabled": true, "__prefab": { - "__id__": 2777 + "__id__": 2813 }, "_contentSize": { "__type__": "cc.Size", @@ -63833,11 +64680,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2649 + "__id__": 2684 }, "_enabled": true, "__prefab": { - "__id__": 2779 + "__id__": 2815 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -63875,11 +64722,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2649 + "__id__": 2684 }, "_enabled": true, "__prefab": { - "__id__": 2781 + "__id__": 2817 }, "_alignFlags": 20, "_target": null, @@ -63928,7 +64775,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 2784 + "__id__": 2820 }, "_contentSize": { "__type__": "cc.Size", @@ -63956,7 +64803,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 2786 + "__id__": 2822 }, "_alignFlags": 45, "_target": null, @@ -63992,7 +64839,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 2788 + "__id__": 2824 }, "_id": "" }, diff --git a/assets/script/game/common/SingletonModuleComp.ts b/assets/script/game/common/SingletonModuleComp.ts index dce7e1ae..f690cc7a 100644 --- a/assets/script/game/common/SingletonModuleComp.ts +++ b/assets/script/game/common/SingletonModuleComp.ts @@ -59,9 +59,9 @@ export class SingletonModuleComp extends ecs.Comp { goods4:[ {uuid:9001,num:100}, {uuid:9002,num:1} ], }; items:any={ - 1001:{uuid:1001,num:1000,x1:1,x10:0}, - 1002:{uuid:1002,num:1000,x1:0,x10:0}, - 1003:{uuid:1003,num:1000,x1:0,x10:0}, + 1001:{uuid:1001,num:10,x1:1,x10:0}, + 1002:{uuid:1002,num:10,x1:0,x10:0}, + 1003:{uuid:1003,num:10,x1:0,x10:0}, 1004:{uuid:1004,num:1000,x1:0,x10:0}, 1005:{uuid:1005,num:1000,x1:0,x10:0}, 1006:{uuid:1006,num:1000,x1:0,x10:0}, diff --git a/assets/script/game/map/LuckHomeComp.ts b/assets/script/game/map/LuckHomeComp.ts index 125f89f7..6957ca6a 100644 --- a/assets/script/game/map/LuckHomeComp.ts +++ b/assets/script/game/map/LuckHomeComp.ts @@ -1,4 +1,4 @@ -import { _decorator, instantiate, Prefab ,Node, Label} from "cc"; +import { _decorator, instantiate, Prefab ,Node, Label, Sprite} 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 { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops"; @@ -16,18 +16,90 @@ export class LuckHomeCompComp extends CCComp { mbn: Node | null = null; @property({ type: Node }) lbn: Node | null = null; - + @property({ type: Node }) + btnno: Node | null = null; + selected: string = ""; /** 视图层逻辑代码分离演示 */ start() { // var entity = this.ent as ecs.Entity; // ecs.Entity 可转为当前模块的具体实体对象 // this.on(ModuleEvent.Cmd, this.onHandler, this); + this.frist(); + } + frist(){ + if(smc.items[1001].num > 0){this.select_box(null,"sb");} + else if(smc.items[1002].num > 0){this.select_box(null,"mb");} + else if(smc.items[1003].num > 0){this.select_box(null,"lb");} + this.check_num(); } - check_num(){ this.sbn.getChildByName("num").getComponent(Label).string = smc.items[1001].num.toString(); this.mbn.getChildByName("num").getComponent(Label).string = smc.items[1002].num.toString(); this.lbn.getChildByName("num").getComponent(Label).string = smc.items[1003].num.toString(); + + + } + select_box(e:any, val:string){ + this.sbn.setScale(1,1,1); + this.mbn.setScale(1,1,1); + this.lbn.setScale(1,1,1); + switch(val){ + case "sb": + this.sbn.setScale(1.2,1.2,1); + if(smc.items[1001].num > 0){ + this.btnno.active = false; + this.selected="sb" + + }else{ + this.btnno.active = true + } + break; + case "mb": + this.mbn.setScale(1.2,1.2,1); + if(smc.items[1002].num > 0){ + this.btnno.active = false; + this.selected="mb" + + }else{ + this.btnno.active = true + } + break; + case "lb": + this.lbn.setScale(1.2,1.2,1); + if(smc.items[1003].num > 0){ + this.btnno.active = false; + this.selected="lb" + }else{ + this.btnno.active = true + } + break; + default: + this.selected=""; + break; + } + } + open_sb() { + console.log("open_sb"); + + smc.items[1001].num--; + this.show_bbox() + this.check_num() + } + open_mb() { + console.log("open_mb"); + + smc.items[1002].num--; + this.show_bbox() + this.check_num() + + } + open_lb() { + console.log("open_lb"); + + smc.items[1003].num--; + this.show_bbox() + this.check_num() + } show_bbox() { var parent = this.node.getChildByName("bbox") @@ -43,6 +115,24 @@ export class LuckHomeCompComp extends CCComp { box.destroy(); }, 0.7) } + to_open(){ + if(this.selected==""){return;} + switch(this.selected){ + case "sb": + if(smc.items[1001].num <=0){oops.gui.toast("宝箱数量不足"); this.btnno.active = true;return;} + this.open_sb(); + break; + case "mb": + if(smc.items[1002].num <=0){oops.gui.toast("宝箱数量不足");this.btnno.active = true;return;} + this.open_mb(); + break; + case "lb": + if(smc.items[1003].num <=0){oops.gui.toast("宝箱数量不足");this.btnno.active = true;return;} + this.open_lb(); + break; + } + } + /** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */ reset() { this.node.destroy();