From a3872e1a1863700e62a2565d9e58551bf5fbcd95 Mon Sep 17 00:00:00 2001 From: TJH Date: Mon, 6 Jul 2026 14:50:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=87=BA=E6=B8=B8=E6=88=8F=E5=90=8E?= =?UTF-8?q?=E6=89=93=E5=BC=80from=E4=BB=A3=E8=A1=A8=E7=9A=84=E7=BD=91?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Game/SlotScene.prefab | 404 +++++++++++++++++++++---------- assets/Game/scripts/SlotScene.ts | 8 +- 2 files changed, 285 insertions(+), 127 deletions(-) diff --git a/assets/Game/SlotScene.prefab b/assets/Game/SlotScene.prefab index a530bc0..ce7a248 100644 --- a/assets/Game/SlotScene.prefab +++ b/assets/Game/SlotScene.prefab @@ -47,22 +47,25 @@ }, { "__id__": 1667 + }, + { + "__id__": 1689 } ], "_active": true, "_components": [ { - "__id__": 1689 + "__id__": 1697 }, { - "__id__": 1691 + "__id__": 1699 }, { - "__id__": 1693 + "__id__": 1701 } ], "_prefab": { - "__id__": 1695 + "__id__": 1703 }, "_lpos": { "__type__": "cc.Vec3", @@ -2327,7 +2330,7 @@ "__id__": 88 }, "asset": { - "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", + "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2338,7 +2341,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "32d+5+MVREoLC0BWrMgv/P", + "fileId": "491WQGhPVDTYdDgzLtrIiw", "prefabRootNode": { "__id__": 1 }, @@ -2375,7 +2378,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "3eoBI67ehNPoFWv5wDvY9V", + "fileId": "49gNuXnW1M5LnAUE0d3fmk", "prefabRootNode": { "__id__": 1 }, @@ -2401,7 +2404,7 @@ "__id__": 94 }, "asset": { - "__uuid__": "79c428b2-5899-404c-8495-991b407ef71b", + "__uuid__": "a0fd2fb6-af52-4b80-a9fc-93d543fa2acd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2412,7 +2415,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "fbCinCNeVJ+4TPfO1aLI+H", + "fileId": "3fDPb/OxtAPq6e4Z3Wqhg1", "prefabRootNode": { "__id__": 1 }, @@ -2438,7 +2441,7 @@ "__id__": 97 }, "asset": { - "__uuid__": "09ec107b-880c-45b8-ad98-84592e637c0b", + "__uuid__": "a0fd2fb6-af52-4b80-a9fc-93d543fa2acd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2449,7 +2452,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "981S3s6q5N6poWjfDxMsz0", + "fileId": "8aYX+j0VVEHr4lbs8C5wcB", "prefabRootNode": { "__id__": 1 }, @@ -2475,7 +2478,7 @@ "__id__": 100 }, "asset": { - "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", + "__uuid__": "a185ad99-a791-4309-9851-549c756647b9", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2486,7 +2489,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "794BAs5rFPQa8TC+pGg3L+", + "fileId": "eaRahYVGhJnbnmvZrXvq8B", "prefabRootNode": { "__id__": 1 }, @@ -2521,7 +2524,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "e8l1xDba1EJb6nMF3DR+bI" + "fileId": "91n0EG2ElMKajioUC/pG2q" }, { "__type__": "cc.PrefabInfo", @@ -2531,7 +2534,7 @@ "asset": { "__id__": 0 }, - "fileId": "f3BksqWBpELpskjvtbZJtj", + "fileId": "4b4xye83lIiYtR9cuNGpHu", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2562,7 +2565,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "29CU2ZXqJDmYvnT1alaf81" + "fileId": "606kr7ch5FGakK3SzOAphE" }, { "__type__": "cc.PrefabInfo", @@ -2572,7 +2575,7 @@ "asset": { "__id__": 0 }, - "fileId": "9cUOjcCDJHkJ1HyZr1Nkm3", + "fileId": "63Kyor475GhavRcS9D3w17", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2603,7 +2606,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "edMFtKLmRJRIHfVsHtmgNr" + "fileId": "b9m6Bav5RLNayZmd/5kuUq" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -2628,7 +2631,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "dbXvJ0WDhEpbTuVKvANPC6" + "fileId": "b2dg988YJIn5IVQzXHoy5D" }, { "__type__": "5fd13+Xa69CZogb3Q/F1lnC", @@ -2801,7 +2804,7 @@ "asset": { "__id__": 0 }, - "fileId": "f36oFF635JSYRAbfVXP8cH", + "fileId": "3bsYWMMntEsrDcAbRUBNQv", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2991,7 +2994,7 @@ "__id__": 123 }, "asset": { - "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", + "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3002,7 +3005,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "a9kgyouiJFyJiXuIFIIN0O", + "fileId": "71BkmVwnBM7rXNde8VGerR", "prefabRootNode": { "__id__": 1 }, @@ -3028,7 +3031,7 @@ "__id__": 126 }, "asset": { - "__uuid__": "79c428b2-5899-404c-8495-991b407ef71b", + "__uuid__": "f8999765-2b3b-4d22-8a12-dd5165927db7", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3039,7 +3042,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "b2kL5FvBNBJ7mEhnfmnF/s", + "fileId": "db3KOajg1NDo4uk8QyuKOH", "prefabRootNode": { "__id__": 1 }, @@ -3065,7 +3068,7 @@ "__id__": 129 }, "asset": { - "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", + "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3076,7 +3079,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "9b+t8WhkxCspr8RUP2yt8I", + "fileId": "bfkU6MkDhFE7uAFSDrbxGH", "prefabRootNode": { "__id__": 1 }, @@ -3102,7 +3105,7 @@ "__id__": 132 }, "asset": { - "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", + "__uuid__": "a185ad99-a791-4309-9851-549c756647b9", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3113,7 +3116,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "6dbTYeXddON4I3mX6naW19", + "fileId": "f4otppmE5CnadU3Mj+kBRs", "prefabRootNode": { "__id__": 1 }, @@ -3139,7 +3142,7 @@ "__id__": 135 }, "asset": { - "__uuid__": "a0fd2fb6-af52-4b80-a9fc-93d543fa2acd", + "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3150,7 +3153,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "f5WXU67GtG3bEvlavNQYJO", + "fileId": "dcOBTqZmtBkKjEiiR7aD6t", "prefabRootNode": { "__id__": 1 }, @@ -3185,7 +3188,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "43gloonOFELailID5gF6zG" + "fileId": "37I5DihqtPt7LGAtf1LA4y" }, { "__type__": "cc.PrefabInfo", @@ -3195,7 +3198,7 @@ "asset": { "__id__": 0 }, - "fileId": "88H5MVKx9GGqnFbfJw8ZmT", + "fileId": "a8vKS46hdJ54VO8pzzj8vT", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3226,7 +3229,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "3emt6cJW5FfrdGlRClO3IB" + "fileId": "4afIxG67pAQZ5EFJxW3Kw1" }, { "__type__": "cc.PrefabInfo", @@ -3236,7 +3239,7 @@ "asset": { "__id__": 0 }, - "fileId": "0bmldiVnpChK3upymhkpEc", + "fileId": "a14qizlElChKhXiyORtPEC", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3267,7 +3270,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "4cn7eXsstH96WQN1jSaCdD" + "fileId": "77g9SwlTVML50S3qTsJHPL" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3292,7 +3295,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "7doBCr2/VGcZPOb+OLWqdG" + "fileId": "a11nhsixBDl73z1VMfcXbm" }, { "__type__": "cc.PrefabInfo", @@ -3302,7 +3305,7 @@ "asset": { "__id__": 0 }, - "fileId": "5aPD2m+adJiYVwFflnHGaB", + "fileId": "87G3BZabtHfIDfI4WS+bA8", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3492,7 +3495,7 @@ "__id__": 152 }, "asset": { - "__uuid__": "31e7557b-3a6b-4d2d-9daf-5a5e4b522638", + "__uuid__": "a0fd2fb6-af52-4b80-a9fc-93d543fa2acd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3503,7 +3506,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "79FxWVFL9I04PeIDc2uCAr", + "fileId": "a8SDaw1m9GG4Y0r3Tl98Ka", "prefabRootNode": { "__id__": 1 }, @@ -3529,7 +3532,7 @@ "__id__": 155 }, "asset": { - "__uuid__": "79c428b2-5899-404c-8495-991b407ef71b", + "__uuid__": "a0fd2fb6-af52-4b80-a9fc-93d543fa2acd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3540,7 +3543,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "a8oNfsTJxArYnyXs+6FNgC", + "fileId": "92B31wdmJD+YxJj8rOTR6d", "prefabRootNode": { "__id__": 1 }, @@ -3566,7 +3569,7 @@ "__id__": 158 }, "asset": { - "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", + "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3577,7 +3580,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "3bUnh9KIlCdYP5RG3c4uv1", + "fileId": "c9P9n+QNBFdq1bvRJ4hQm5", "prefabRootNode": { "__id__": 1 }, @@ -3603,7 +3606,7 @@ "__id__": 161 }, "asset": { - "__uuid__": "79c428b2-5899-404c-8495-991b407ef71b", + "__uuid__": "a0fd2fb6-af52-4b80-a9fc-93d543fa2acd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3614,7 +3617,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "9aWrNvFCFF37qnUhHa+76P", + "fileId": "47kn6OMMND17Z9qi9vLshc", "prefabRootNode": { "__id__": 1 }, @@ -3640,7 +3643,7 @@ "__id__": 164 }, "asset": { - "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", + "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3651,7 +3654,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "d9cybLX2xDgZQ5nfVilKxn", + "fileId": "a0VsIizotNDKAdExQhvlzE", "prefabRootNode": { "__id__": 1 }, @@ -3686,7 +3689,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "84fU0DQp1Bt4eRhFqUSO0c" + "fileId": "889BarZe5I5JOUa4Tu8qbS" }, { "__type__": "cc.PrefabInfo", @@ -3696,7 +3699,7 @@ "asset": { "__id__": 0 }, - "fileId": "d8xcV0QsBIDpxesU+WnhUf", + "fileId": "75Q4kkyA9Ku4GZPw7wYkSS", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3727,7 +3730,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "96Qf7ErNFBZqAlpJswzruN" + "fileId": "e8LdRn7XFD9IbtjQ48+fFm" }, { "__type__": "cc.PrefabInfo", @@ -3737,7 +3740,7 @@ "asset": { "__id__": 0 }, - "fileId": "59hpyPTDlE/IYVAW9shRkj", + "fileId": "32ZU5qdKpCK714WqHrxCHf", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3768,7 +3771,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "cfE8z0LtJFEbKr5QcR3x9Z" + "fileId": "ebbUO2EuFLNJ2KLBQRVJHV" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3793,7 +3796,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "de+KTt7WNF9a3zeorHtIWr" + "fileId": "24O8AzugVNLYKUMsywqbQY" }, { "__type__": "cc.PrefabInfo", @@ -3803,7 +3806,7 @@ "asset": { "__id__": 0 }, - "fileId": "4bVpXNlo5FbIvNwg4lMJXV", + "fileId": "a7ZkJYqiBH9KWtCn1YVh3z", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3993,7 +3996,7 @@ "__id__": 181 }, "asset": { - "__uuid__": "79c428b2-5899-404c-8495-991b407ef71b", + "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4004,7 +4007,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "89zFVqSshOY5FzQ+zh3gPQ", + "fileId": "9dF5H/MnRCMp1xnK2To0Tq", "prefabRootNode": { "__id__": 1 }, @@ -4030,7 +4033,7 @@ "__id__": 184 }, "asset": { - "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", + "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4041,7 +4044,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "5cyGInCXFKbrNbhIwkg3bj", + "fileId": "6483yGpoJEsqv9YPO+doN6", "prefabRootNode": { "__id__": 1 }, @@ -4067,7 +4070,7 @@ "__id__": 187 }, "asset": { - "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", + "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4078,7 +4081,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "1263b+0DJBB6aMCF2gxXal", + "fileId": "f9UjRGJThB1IeS9flJfCCC", "prefabRootNode": { "__id__": 1 }, @@ -4115,7 +4118,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "5dEUwnnmBLJZzvUYiomfBu", + "fileId": "8aYYBhhZpEpJ9NAX+LXaW+", "prefabRootNode": { "__id__": 1 }, @@ -4141,7 +4144,7 @@ "__id__": 193 }, "asset": { - "__uuid__": "31e7557b-3a6b-4d2d-9daf-5a5e4b522638", + "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4152,7 +4155,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "d6vzPxkQ5HGLuBzCJWjuVp", + "fileId": "ebmexW5VlGWI/91P+PShZ7", "prefabRootNode": { "__id__": 1 }, @@ -4187,7 +4190,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "62m+RwbORH+J45DhJRac2J" + "fileId": "120dsN+9xBm4AfeIBvfi6c" }, { "__type__": "cc.PrefabInfo", @@ -4197,7 +4200,7 @@ "asset": { "__id__": 0 }, - "fileId": "bd0WxqzptNDoK78p3Mpy+E", + "fileId": "82gOjSi5hC1r5dtX2bsw2h", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4228,7 +4231,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "84f9PCwchEh7olM741lBmE" + "fileId": "7aBFGuacxIPpJtQ7PDRkOv" }, { "__type__": "cc.PrefabInfo", @@ -4238,7 +4241,7 @@ "asset": { "__id__": 0 }, - "fileId": "99/mp7/tFOKIfWirMTJ58R", + "fileId": "0dfxFnYDVBa7id5N1qxapE", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4269,7 +4272,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "5aPALE6o5CA6+2P8/Rg8DV" + "fileId": "51aKwKyXxNr4Ak9dvrNeDC" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -4294,7 +4297,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "84PX/BWOpMc4vnpyjzZFR5" + "fileId": "06iM4eNTNMtaQpspv8vurZ" }, { "__type__": "cc.PrefabInfo", @@ -4304,7 +4307,7 @@ "asset": { "__id__": 0 }, - "fileId": "95U90eVEBNvJ3qimvNzffZ", + "fileId": "b7uDPgWvZNJ4vvrgFMM0dQ", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4494,7 +4497,7 @@ "__id__": 210 }, "asset": { - "__uuid__": "f8999765-2b3b-4d22-8a12-dd5165927db7", + "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4505,7 +4508,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "caDAHQn6dMDogJUouh8TzZ", + "fileId": "8fKrjs+J1Hupt6bGWHwgIm", "prefabRootNode": { "__id__": 1 }, @@ -4531,7 +4534,7 @@ "__id__": 213 }, "asset": { - "__uuid__": "55a879b3-2ccd-48e3-bd43-c984e67f1637", + "__uuid__": "f8999765-2b3b-4d22-8a12-dd5165927db7", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4542,7 +4545,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "3eNQXu8K9B0JIjZA/KVo7T", + "fileId": "c8y748HhBFF4Ta0maPUqHE", "prefabRootNode": { "__id__": 1 }, @@ -4568,7 +4571,7 @@ "__id__": 216 }, "asset": { - "__uuid__": "f8999765-2b3b-4d22-8a12-dd5165927db7", + "__uuid__": "31e7557b-3a6b-4d2d-9daf-5a5e4b522638", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4579,7 +4582,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "8cnLH/BCFIyryxmM4vWYNn", + "fileId": "c31W1L0aRHZ4HdBMFvvrFf", "prefabRootNode": { "__id__": 1 }, @@ -4605,7 +4608,7 @@ "__id__": 219 }, "asset": { - "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", + "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4616,7 +4619,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "3f1u1wXGhBr7w3gQxxhg06", + "fileId": "f5U0T+9cJPf4dbzjfZ6m/c", "prefabRootNode": { "__id__": 1 }, @@ -4642,7 +4645,7 @@ "__id__": 222 }, "asset": { - "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", + "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4653,7 +4656,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "a4BO3tyFBMNqu9XKyxwObV", + "fileId": "709s2flR5KXYNtJCp0GSVZ", "prefabRootNode": { "__id__": 1 }, @@ -4688,7 +4691,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "a4XwQJPg5Fs6Ky4oDfUHPB" + "fileId": "13IZ4OWbFEKKd/H/tuOA91" }, { "__type__": "cc.PrefabInfo", @@ -4698,7 +4701,7 @@ "asset": { "__id__": 0 }, - "fileId": "f1pTmTRthMxJZxuj3HcX4F", + "fileId": "bawfXx1plHV6sfXsaIKCvQ", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4729,7 +4732,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "26sDFijPFFR70zUfJWVGjS" + "fileId": "ea4DC2j9RHQ6Lug/593xjF" }, { "__type__": "cc.PrefabInfo", @@ -4739,7 +4742,7 @@ "asset": { "__id__": 0 }, - "fileId": "bbiOGyEcdOv73PdxpJ66ty", + "fileId": "356RgBBthMeqtyuIER56ME", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4770,7 +4773,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "73vy9x+AdI8prEiOMM05Qr" + "fileId": "9aKbPsDJJNv5CKSsAiJQNc" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -4795,7 +4798,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "23ENgY3DVCYKiCbqDekggp" + "fileId": "19cKhK+cVFVrR+BFkawHMf" }, { "__type__": "cc.PrefabInfo", @@ -4805,7 +4808,7 @@ "asset": { "__id__": 0 }, - "fileId": "421sxJnGVMqb6MxFOJCET2", + "fileId": "32sqm9yOVNmqvV5WsjGwad", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -5006,7 +5009,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "e1pmJwceVJyZfEW0XxDHro", + "fileId": "b9GXLDZDxHl6HMet6p8R2y", "prefabRootNode": { "__id__": 1 }, @@ -5032,7 +5035,7 @@ "__id__": 242 }, "asset": { - "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", + "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5043,7 +5046,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "80H0dBZy5GDbMceRwzsn+Y", + "fileId": "102rxZLHJLBYJdXL8pVBM3", "prefabRootNode": { "__id__": 1 }, @@ -5069,7 +5072,7 @@ "__id__": 245 }, "asset": { - "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", + "__uuid__": "f8999765-2b3b-4d22-8a12-dd5165927db7", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5080,7 +5083,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "5bvMp7XxZOTb4U25SZI4bz", + "fileId": "2ai38g0gVOJbNaUaRF54Uc", "prefabRootNode": { "__id__": 1 }, @@ -5106,7 +5109,7 @@ "__id__": 248 }, "asset": { - "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", + "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5117,7 +5120,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "7bbV7y551J+4uEMoGSCy13", + "fileId": "4f0OJ92IJKPI0LTxiPYVhY", "prefabRootNode": { "__id__": 1 }, @@ -5143,7 +5146,7 @@ "__id__": 251 }, "asset": { - "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", + "__uuid__": "55a879b3-2ccd-48e3-bd43-c984e67f1637", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5154,7 +5157,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "0feG30GvZJk6HCaA0pbk7o", + "fileId": "90jML42kNEdI8RiXctqfVe", "prefabRootNode": { "__id__": 1 }, @@ -5189,7 +5192,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "feL07esiBC+L5oys7mapvm" + "fileId": "a0BT5ytF9OBrYCiT2hXWXs" }, { "__type__": "cc.PrefabInfo", @@ -5199,7 +5202,7 @@ "asset": { "__id__": 0 }, - "fileId": "dfnU3yceJKvro72RiT1M+c", + "fileId": "b35BGM8eJDgKv2Y+lSLbIE", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -5230,7 +5233,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "9cWUPmwAhPdJ/egpJYHvYx" + "fileId": "baeZiAQ4NGypUNRG76bTQF" }, { "__type__": "cc.PrefabInfo", @@ -5240,7 +5243,7 @@ "asset": { "__id__": 0 }, - "fileId": "2brJ9dG7BFHplNzI7SezaS", + "fileId": "b29qWYm7VETJeKlxxXn4mj", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -5271,7 +5274,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "c5DY1mnIlKepEys9wwpe8F" + "fileId": "e74TIpW8ZM2Zc2Q7MFFDQe" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -5296,7 +5299,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "18wMo6b31Gp7CxBbh2/XNa" + "fileId": "f7Jqj2lFNJV47P62wO3cQz" }, { "__type__": "cc.PrefabInfo", @@ -5306,7 +5309,7 @@ "asset": { "__id__": 0 }, - "fileId": "fa8UIuuUtFwLxC59GKVo3P", + "fileId": "beWfeoKsVH5JCWtlR6YpBT", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -5331,7 +5334,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "c699zwrWJIdK3HhU1NgNgG" + "fileId": "2dGJ0RXeFAGqcv3+dS1UmM" }, { "__type__": "cc.UITransform", @@ -5359,7 +5362,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "6bvSCkOOxIPa4G1STch/yV" + "fileId": "b46po8FJ5I+YszJ/Knue5h" }, { "__type__": "cc.Graphics", @@ -5405,7 +5408,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "11nnWMvNlJjrHEVX7iMdX2" + "fileId": "fe/86h0INCcLiRq0auJH3o" }, { "__type__": "cc.PrefabInfo", @@ -5415,7 +5418,7 @@ "asset": { "__id__": 0 }, - "fileId": "9c0p+AdtFEjrPfm6ZQi0Jt", + "fileId": "9bCvTwEE5EpLXgfxNAOnWl", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -18063,7 +18066,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -31190,7 +31193,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -35861,7 +35864,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -36230,7 +36233,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -36439,7 +36442,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -36591,7 +36594,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -36743,7 +36746,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -36895,7 +36898,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -37436,6 +37439,154 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "gray", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 1690 + }, + { + "__id__": 1692 + }, + { + "__id__": 1694 + } + ], + "_prefab": { + "__id__": 1696 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1689 + }, + "_enabled": true, + "__prefab": { + "__id__": 1691 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 1920 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "23mxYvdjVAVZJFHCyRMtFQ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1689 + }, + "_enabled": true, + "__prefab": { + "__id__": 1693 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "18A56dlPBGB4/v0QHPMgeQ" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1689 + }, + "_enabled": true, + "__prefab": { + "__id__": 1695 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5d6mis7IFFrY/5yGJ+PrqB" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "61wMTaIlJJvKNwPOjFcRSL", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -37446,12 +37597,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 1690 + "__id__": 1698 }, "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -37474,7 +37625,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1692 + "__id__": 1700 }, "slotGame": { "__id__": 830 @@ -37505,6 +37656,9 @@ "__id__": 1605 }, "slotRanking": null, + "gray": { + "__id__": 1689 + }, "_id": "" }, { @@ -37521,7 +37675,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1694 + "__id__": 1702 }, "_alignFlags": 45, "_target": null, @@ -37559,10 +37713,10 @@ "instance": null, "targetOverrides": [ { - "__id__": 1696 + "__id__": 1704 }, { - "__id__": 1699 + "__id__": 1707 } ], "nestedPrefabInstanceRoots": [ @@ -37667,7 +37821,7 @@ "__id__": 845 }, "sourceInfo": { - "__id__": 1697 + "__id__": 1705 }, "propertyPath": [ "_target" @@ -37676,7 +37830,7 @@ "__id__": 845 }, "targetInfo": { - "__id__": 1698 + "__id__": 1706 } }, { @@ -37694,7 +37848,7 @@ { "__type__": "cc.TargetOverrideInfo", "source": { - "__id__": 1691 + "__id__": 1699 }, "sourceInfo": null, "propertyPath": [ @@ -37704,7 +37858,7 @@ "__id__": 1608 }, "targetInfo": { - "__id__": 1700 + "__id__": 1708 } }, { diff --git a/assets/Game/scripts/SlotScene.ts b/assets/Game/scripts/SlotScene.ts index 013e333..50434a4 100644 --- a/assets/Game/scripts/SlotScene.ts +++ b/assets/Game/scripts/SlotScene.ts @@ -1,4 +1,4 @@ -import { _decorator, Component, Prefab } from "cc"; +import { _decorator, Component, Node, Prefab } from "cc"; import { FREE_SPIN_ROLLER_RULE, GameInfo, @@ -82,6 +82,9 @@ export class SlotScene extends Component { @property(SlotRanking) slotRanking: SlotRanking = null; + @property(Node) + gray: Node = null + // 游戏数据 private gameInfo: GameInfo = null; private spinInfo: any = null; @@ -1029,9 +1032,10 @@ export class SlotScene extends Component { null, () => { let fromUrl = getFromUrl(); - if (fromUrl.length == 0) { + if (!fromUrl || fromUrl == "") { window.close(); } else { + this.gray.active = true window.location.replace(fromUrl); } },