菜单按钮修改

This commit is contained in:
TJH 2025-09-16 14:20:35 +08:00
parent dd005d0338
commit c91899fe28
7 changed files with 172 additions and 145 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -25,32 +25,32 @@
"__id__": 10 "__id__": 10
}, },
{ {
"__id__": 16 "__id__": 18
}, },
{ {
"__id__": 24 "__id__": 26
}, },
{ {
"__id__": 32 "__id__": 34
}, },
{ {
"__id__": 40 "__id__": 42
}, },
{ {
"__id__": 48 "__id__": 50
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 54 "__id__": 56
}, },
{ {
"__id__": 56 "__id__": 58
} }
], ],
"_prefab": { "_prefab": {
"__id__": 58 "__id__": 60
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -272,10 +272,13 @@
}, },
{ {
"__id__": 13 "__id__": 13
},
{
"__id__": 15
} }
], ],
"_prefab": { "_prefab": {
"__id__": 15 "__id__": 17
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -379,6 +382,25 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "7bhqbbPvxKLZFnf/4WA0Rh" "fileId": "7bhqbbPvxKLZFnf/4WA0Rh"
}, },
{
"__type__": "cc.UIOpacity",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 16
},
"_opacity": 255,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0dfGq7lFVEbLJgGs5L1xpK"
},
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
@ -403,18 +425,18 @@
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 17
},
{ {
"__id__": 19 "__id__": 19
}, },
{ {
"__id__": 21 "__id__": 21
},
{
"__id__": 23
} }
], ],
"_prefab": { "_prefab": {
"__id__": 23 "__id__": 25
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -451,11 +473,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 16 "__id__": 18
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 18 "__id__": 20
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -479,11 +501,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 16 "__id__": 18
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 20 "__id__": 22
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -524,11 +546,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 16 "__id__": 18
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 22 "__id__": 24
}, },
"spriteName": "bigwin", "spriteName": "bigwin",
"_id": "" "_id": ""
@ -561,18 +583,18 @@
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 25
},
{ {
"__id__": 27 "__id__": 27
}, },
{ {
"__id__": 29 "__id__": 29
},
{
"__id__": 31
} }
], ],
"_prefab": { "_prefab": {
"__id__": 31 "__id__": 33
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -609,11 +631,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 24 "__id__": 26
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 26 "__id__": 28
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -637,11 +659,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 24 "__id__": 26
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 28 "__id__": 30
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -682,11 +704,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 24 "__id__": 26
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 30 "__id__": 32
}, },
"spriteName": "megawin", "spriteName": "megawin",
"_id": "" "_id": ""
@ -719,18 +741,18 @@
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 33
},
{ {
"__id__": 35 "__id__": 35
}, },
{ {
"__id__": 37 "__id__": 37
},
{
"__id__": 39
} }
], ],
"_prefab": { "_prefab": {
"__id__": 39 "__id__": 41
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -767,11 +789,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 32 "__id__": 34
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 34 "__id__": 36
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -795,11 +817,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 32 "__id__": 34
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 36 "__id__": 38
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -840,11 +862,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 32 "__id__": 34
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 38 "__id__": 40
}, },
"spriteName": "supermegawin", "spriteName": "supermegawin",
"_id": "" "_id": ""
@ -873,14 +895,14 @@
"__id__": 1 "__id__": 1
}, },
"_prefab": { "_prefab": {
"__id__": 41 "__id__": 43
}, },
"__editorExtras__": {} "__editorExtras__": {}
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 40 "__id__": 42
}, },
"asset": { "asset": {
"__uuid__": "416765f1-4141-440b-9ec9-08dcd298f611", "__uuid__": "416765f1-4141-440b-9ec9-08dcd298f611",
@ -888,7 +910,7 @@
}, },
"fileId": "c8UDm/VOpLB7va/IWyh84B", "fileId": "c8UDm/VOpLB7va/IWyh84B",
"instance": { "instance": {
"__id__": 42 "__id__": 44
}, },
"targetOverrides": [] "targetOverrides": []
}, },
@ -901,17 +923,17 @@
"mountedChildren": [], "mountedChildren": [],
"mountedComponents": [], "mountedComponents": [],
"propertyOverrides": [ "propertyOverrides": [
{
"__id__": 43
},
{ {
"__id__": 45 "__id__": 45
}, },
{ {
"__id__": 46 "__id__": 47
}, },
{ {
"__id__": 47 "__id__": 48
},
{
"__id__": 49
} }
], ],
"removedComponents": [] "removedComponents": []
@ -919,7 +941,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 44 "__id__": 46
}, },
"propertyPath": [ "propertyPath": [
"_name" "_name"
@ -935,7 +957,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 44 "__id__": 46
}, },
"propertyPath": [ "propertyPath": [
"_lpos" "_lpos"
@ -950,7 +972,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 44 "__id__": 46
}, },
"propertyPath": [ "propertyPath": [
"_lrot" "_lrot"
@ -966,7 +988,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 44 "__id__": 46
}, },
"propertyPath": [ "propertyPath": [
"_euler" "_euler"
@ -990,14 +1012,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 49 "__id__": 51
}, },
{ {
"__id__": 51 "__id__": 53
} }
], ],
"_prefab": { "_prefab": {
"__id__": 53 "__id__": 55
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -1034,11 +1056,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 48 "__id__": 50
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 50 "__id__": 52
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -1062,11 +1084,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 48 "__id__": 50
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 52 "__id__": 54
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -1150,7 +1172,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 55 "__id__": 57
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -1178,7 +1200,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 57 "__id__": 59
}, },
"_alignFlags": 45, "_alignFlags": 45,
"_target": null, "_target": null,
@ -1217,7 +1239,7 @@
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": [ "nestedPrefabInstanceRoots": [
{ {
"__id__": 40 "__id__": 42
} }
] ]
} }

View File

@ -1406,7 +1406,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "d1Nc6ftnFGJ6uqhFoRlhxU" "fileId": "0dHuCveH5Gd7Qvs/7uJkTx"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -1416,7 +1416,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "0fcKAdlhtL9oDNfLGOUQt/", "fileId": "73XDBJSZ5M/5jQW/RO124c",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -1447,7 +1447,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "cdWZrOS4NKypnayJ0EYUxW" "fileId": "2f4YwOR/NJ8KEMmTCXEbe1"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -1457,7 +1457,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "f3aHA5WTFOXKwnyv0y2YBV", "fileId": "ac7V/zrV9FPZw/jnJkPBU3",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -1488,7 +1488,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "08jCc7hZ1DZoJ5YtAswY3r" "fileId": "3dX242HjBC169Fq05r9jDT"
}, },
{ {
"__type__": "5fc10Zl7lVO97/rr2J1uxWH", "__type__": "5fc10Zl7lVO97/rr2J1uxWH",
@ -1512,7 +1512,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "7dO22/dR9NQrNko7FP4FuS" "fileId": "b1OrwEO9dLsIWXWwK+KhOr"
}, },
{ {
"__type__": "5fd13+Xa69CZogb3Q/F1lnC", "__type__": "5fd13+Xa69CZogb3Q/F1lnC",
@ -1685,7 +1685,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "19P8trVfJEErMOcxg/+uc7", "fileId": "49gU5lRSRLxKrsM9I2jKaM",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -1710,7 +1710,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "edXgY6MspEf6fKStmE2ObU" "fileId": "1aUTaEHZVDtr5SekNP9ZCa"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
@ -1738,7 +1738,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "23V04BJllAAp6ygo1LOwM+" "fileId": "4dnjyULU9Ld7NggGYHUjK5"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@ -1783,7 +1783,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "8ea46zra1LM7M8F93PHN0i" "fileId": "70Fxc7U2NF/IvG18cEkIkW"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -1793,7 +1793,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "ddLnFtGa1P9bSYf/tGesnu", "fileId": "75veKQRgxF1p+UY7ofP7tK",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2048,7 +2048,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "91U6qq3EpGCaGhKtH6Z3lm" "fileId": "6eLnl2jItCAppk2j2MIoBK"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2058,7 +2058,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "94goNkTRVBmZCHQhIownVN", "fileId": "03kFq5rx9Ki6q5v5Hnf/w1",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2089,7 +2089,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "3cD2FjJ8JIrIbZQ+aY4mbs" "fileId": "bf6kGX9vxHhL2rSkekfabN"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2099,7 +2099,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "c1snt+/HhMM51bUhBUfq1w", "fileId": "famrLJmpRAJYi/Ot3OWWtN",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2130,7 +2130,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "0cM31CfYFBEI0vAtB/iO1/" "fileId": "ac8+685e5CCrNT74aWirP0"
}, },
{ {
"__type__": "45522uB1sdFu4FJAojtnha4", "__type__": "45522uB1sdFu4FJAojtnha4",
@ -2154,7 +2154,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "11KnZnL4VCB5Q4df3LvDqn" "fileId": "17/dsia8NN5alAiWILhNVv"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2164,7 +2164,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "7do0OyzN1PZJMrY0MZKTrq", "fileId": "8eFwX7ICtLVpR1rCfekklC",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2347,7 +2347,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "0br4pYV4NBxbCocnDR6v/x" "fileId": "18qORzhI9OpL40C5FRcCBt"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2357,7 +2357,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "6an3/RKMBP4LE7gXWoEDKk", "fileId": "97K7MMcnVDk5CmWaq7yvG6",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2388,7 +2388,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "b9fmliuSBLMaVsfTwgIP8J" "fileId": "5fE+K+DqVEHL11QPHvX0rM"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2398,7 +2398,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "f3qNxjEz1PYY/+74IcBZdd", "fileId": "41yNzkdaZFD7kTMSEBhNJD",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2429,7 +2429,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "85II2vHPtOEYMtIEOZ9wif" "fileId": "3dBLpzbU5PZJrpia1jX0sp"
}, },
{ {
"__type__": "45522uB1sdFu4FJAojtnha4", "__type__": "45522uB1sdFu4FJAojtnha4",
@ -2453,7 +2453,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "02qbTfrbdGA4JcPA6mfyEi" "fileId": "f21GCOL8BEx70efmwb/tzP"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2463,7 +2463,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "59xbDGwSlNVKLgHTO9YGRA", "fileId": "56K3pTSOtHEbvHMYHhzSFS",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2646,7 +2646,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "f1T3d1fi5A/5Kf0Nb4TFMX" "fileId": "65DaY6QHJGi6FKN2K56FzW"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2656,7 +2656,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "bfuaULEzZGzZEpoPxd+Bwe", "fileId": "e5xS7pH7pOpbTnbmXni7FP",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2687,7 +2687,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "174jK6qU1GwKFQ+SRBFUlh" "fileId": "7daG+Sb/ND4ZCpGH9jqVT+"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2697,7 +2697,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "eewSzAzZBBvLiTwbnrxPUX", "fileId": "4fjAzOnihIhpHEnaEzjBve",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2728,7 +2728,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "9bilw+K5xEfIDbmSgHvaLu" "fileId": "8frkuFue5PBa0pR04CZLvv"
}, },
{ {
"__type__": "45522uB1sdFu4FJAojtnha4", "__type__": "45522uB1sdFu4FJAojtnha4",
@ -2752,7 +2752,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "967KeLqNBOJLCOT1WC17Wl" "fileId": "47PWrzcJhGXLEqd5gtSDSD"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2762,7 +2762,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "43blR+En5PvatLSBq9qFZu", "fileId": "e9/CnmL9hCv7l2lxETU3Ee",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2945,7 +2945,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "ef+/aMGVZAt4soXbXsMSas" "fileId": "0bx/BDQORA0q4glxrtKvD8"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2955,7 +2955,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "40+KtfoR1IsqO0tNTGUJwo", "fileId": "123wWntUdBdZHRYjEP0LCH",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2986,7 +2986,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "07LfNQtkRFurduq+hHnPf/" "fileId": "d8orYH50lCJqi6IRa0hLg9"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2996,7 +2996,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "f3bzG3seJBLJITYYnsIfOC", "fileId": "60lDDvQrhCJquSqJniXjVE",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3027,7 +3027,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "d13NNeB8VF9ZD76KS0MLcL" "fileId": "e65g7kdy5FnpfodK+7zGbt"
}, },
{ {
"__type__": "45522uB1sdFu4FJAojtnha4", "__type__": "45522uB1sdFu4FJAojtnha4",
@ -3051,7 +3051,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "cdTv/rqdNEIouZJdtC4f2V" "fileId": "579CN2eEtFzrjqiu8NuMfK"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3061,7 +3061,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "04y9WW2DhI/Il0/CUpR3nj", "fileId": "d3B2xKDrlOubG+GowfV3Vw",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3244,7 +3244,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "46Tmydf1pEoKgQf0gKj6SI" "fileId": "baYqoonppDXZ3XThecI3lk"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3254,7 +3254,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "01UXXlRaFFEJuNa3gmddHa", "fileId": "02+Ll23ONGR7c6iltA2bCG",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3285,7 +3285,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "fafwOygSZGtZlqTILsxltT" "fileId": "aanJhx4KFGOKSWCv4tGD19"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3295,7 +3295,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "e3zX46mQJDEJ2QpAn5loCr", "fileId": "f17e3WVrZG0L6nDxULCOqH",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3326,7 +3326,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "efMv8UnwxHqqbcqfEVIX5g" "fileId": "b65svhRLVAfaUZ4RgY3nkQ"
}, },
{ {
"__type__": "45522uB1sdFu4FJAojtnha4", "__type__": "45522uB1sdFu4FJAojtnha4",
@ -3350,7 +3350,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "452DLZhQJMCrGV+7fwyeMI" "fileId": "d0rF470INK1LjdQVw/CVBp"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3360,7 +3360,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "f4Y3TMT81BlI0MkxupWVZ/", "fileId": "1cRq4NJvFLfLW2u+SVhRXr",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3543,7 +3543,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "678MMfXFNKSoG5Q6noBeha" "fileId": "1eMrWTP6xM1JCRG+bGsW4l"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3553,7 +3553,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "e9hGrK1q5HjpEodmZp1VC/", "fileId": "dbu9fczaFN65LWPEyrU88w",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3584,7 +3584,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "21XYlrATtDl52xNYRBPUaQ" "fileId": "6cmxXvJORJHq+zCYGXyKjj"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3594,7 +3594,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "f9Nr9aMvlPPJM6JXN1f1wI", "fileId": "f5Okl49HtOI4Lv3tZ1UCBV",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3625,7 +3625,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "32n1hOyXxBxIrO3JbvIAAf" "fileId": "9fobhdFUZIk7uuAD0P7ZBD"
}, },
{ {
"__type__": "45522uB1sdFu4FJAojtnha4", "__type__": "45522uB1sdFu4FJAojtnha4",
@ -3649,7 +3649,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "075Wi3IVJFdY9i9BebyWkm" "fileId": "76be5pp1lCo4ddMzbpgIrP"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3659,7 +3659,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "39tCTpQzZHoLOIqdZeu5wd", "fileId": "b1N+raGRBHK4VVx1gteFxK",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3684,7 +3684,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "ffZmCfU81EvJ10T6b4EBFL" "fileId": "0bZ2JFzD9Gd76U7FTem1Wj"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
@ -3712,7 +3712,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "d3PcTR5QFGv5izuud1GsOM" "fileId": "baThnRwRpCrJf/uyDxb/wu"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@ -3757,7 +3757,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "a8n3EeA3ZJHI0Z/S3RMVSj" "fileId": "7fR4Ty7dJIW7NLR+YmY4Or"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3767,7 +3767,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "6f14HFzcBP4ahFz3f62UTx", "fileId": "22HqzILQpGaIFBsjrXCV1w",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -19171,9 +19171,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 81, "r": 255,
"g": 0, "g": 255,
"b": 126, "b": 255,
"a": 255 "a": 255
}, },
"_string": "Quit", "_string": "Quit",
@ -19352,9 +19352,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 81, "r": 255,
"g": 0, "g": 255,
"b": 126, "b": 255,
"a": 255 "a": 255
}, },
"_string": "Sound", "_string": "Sound",
@ -19533,9 +19533,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 81, "r": 255,
"g": 0, "g": 255,
"b": 126, "b": 255,
"a": 255 "a": 255
}, },
"_string": "Paytable", "_string": "Paytable",
@ -19714,9 +19714,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 81, "r": 255,
"g": 0, "g": 255,
"b": 126, "b": 255,
"a": 255 "a": 255
}, },
"_string": "Rule", "_string": "Rule",
@ -19895,9 +19895,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 81, "r": 255,
"g": 0, "g": 255,
"b": 126, "b": 255,
"a": 255 "a": 255
}, },
"_string": "History", "_string": "History",
@ -20076,9 +20076,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 81, "r": 255,
"g": 0, "g": 255,
"b": 126, "b": 255,
"a": 255 "a": 255
}, },
"_string": "Close", "_string": "Close",

View File

@ -1,4 +1,4 @@
import { _decorator, AudioClip, AudioSource, Component, easing, Label, Node, NodePool, ParticleSystem, Prefab, sp, Sprite, SpriteFrame, Tween, tween, v3, Vec3 } from 'cc'; import { _decorator, AudioClip, AudioSource, Component, easing, Label, Node, NodePool, ParticleSystem, Prefab, sp, Sprite, SpriteFrame, Tween, tween, UIOpacity, v3, Vec3 } from 'cc';
import { WIN_TYPE } from './Define'; import { WIN_TYPE } from './Define';
import { NodePoolManager } from '../../../Loading/scripts/manager/NodePoolManager'; import { NodePoolManager } from '../../../Loading/scripts/manager/NodePoolManager';
import { gold2cash } from '../../../Loading/scripts/comm'; import { gold2cash } from '../../../Loading/scripts/comm';
@ -51,7 +51,7 @@ export class BigWinUI extends Component {
isSkipByTouch: boolean = false; isSkipByTouch: boolean = false;
protected onLoad(): void { protected onLoad(): void {
// this.show(10000000, WIN_TYPE.SUPER_MEGA_WIN, 10000) // this.show(300000, WIN_TYPE.BIG_WIN, 10000)
} }
show(winScore: number, winType: WIN_TYPE, betAmount: number) { show(winScore: number, winType: WIN_TYPE, betAmount: number) {
@ -294,13 +294,18 @@ export class BigWinUI extends Component {
// 显示对应类型的特效 // 显示对应类型的特效
this.showEffectByType(winType); this.showEffectByType(winType);
} else { } else {
this.playWinLabelAnimation(prefix, state)
this.winMainSpine.setCompleteListener(null); this.winMainSpine.setCompleteListener(null);
this.winMainSpine.setAnimation(0, animName, false); this.winMainSpine.setAnimation(0, animName, false);
// tween(this.winMainSpine.node.getComponent(UIOpacity))
// .to(0.5, { opacity: 0 })
// .call(() => {
// this.closeImmediately()
// })
// .start()
// this.winLabelSprite.setCompleteListener(null); // this.winLabelSprite.setCompleteListener(null);
// this.winLabelSprite.setAnimation(0, animName, false); // this.winLabelSprite.setAnimation(0, animName, false);
this.playWinLabelAnimation(prefix, state)
// 停止并隐藏特效 // 停止并隐藏特效
if (this.currentEffectNode) { if (this.currentEffectNode) {

View File

@ -7,7 +7,7 @@ import { PREVIEW } from "cc/env"
const gameId = "rp_10012"; const gameId = "rp_10012";
// let apiaddr = "https://rpgames-api.rpfafafahkdev.com"; // let apiaddr = "https://rpgames-api.rpfafafahkdev.com";
let apiaddr = ""; let apiaddr = "";
let token = "eyJQIjoxMDA5NDksIkUiOjE3NTc5NDM3NjAsIlMiOjEwMDMsIkQiOiJycF8xMDAxMiJ9._wN9bG5q9Pa8FL6mOEHLCyyxnCWzKcfqYRTryyrmXsE"; let token = "eyJQIjoxMDA5NDksIkUiOjE3NTgwMzU3MTYsIlMiOjEwMDMsIkQiOiJycF8xMDAxMiJ9.K9dFPkv9K7nP5Lp5uVku51rXJ7XQGVXDHwYXdPXszzc";
let language = "en" let language = "en"
let currency = "THB" let currency = "THB"
let supportUrl = "" let supportUrl = ""

BIN
assets/Loading/textures/tip/CommonUI_01.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 154 KiB

View File

@ -4,19 +4,19 @@
"customSplash": { "customSplash": {
"id": "customSplash", "id": "customSplash",
"label": "customSplash", "label": "customSplash",
"enable": true, "enable": false,
"customSplash": { "customSplash": {
"complete": false, "complete": false,
"form": "https://creator-api.cocos.com/api/form/show?sid=571ede397bfe249c5b5fb193d6022644" "form": "https://creator-api.cocos.com/api/form/show?"
} }
}, },
"removeSplash": { "removeSplash": {
"id": "removeSplash", "id": "removeSplash",
"label": "removeSplash", "label": "removeSplash",
"enable": true, "enable": false,
"removeSplash": { "removeSplash": {
"complete": false, "complete": false,
"form": "https://creator-api.cocos.com/api/form/show?sid=571ede397bfe249c5b5fb193d6022644" "form": "https://creator-api.cocos.com/api/form/show?"
} }
} }
} }