From 3f493a1b03db8621aab9b418cd423219e4650f84 Mon Sep 17 00:00:00 2001 From: TJH Date: Mon, 29 Dec 2025 12:34:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=8D=E8=B4=B9=E8=B5=A0=E9=80=81=E9=80=82?= =?UTF-8?q?=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Game/prefabs/SlotScene.prefab | 214 +++++++++++++-------------- assets/Game/scripts/SlotBar.ts | 1 + assets/Game/scripts/SlotScene.ts | 41 +++-- 3 files changed, 126 insertions(+), 130 deletions(-) diff --git a/assets/Game/prefabs/SlotScene.prefab b/assets/Game/prefabs/SlotScene.prefab index dd45828..0bc7d0c 100644 --- a/assets/Game/prefabs/SlotScene.prefab +++ b/assets/Game/prefabs/SlotScene.prefab @@ -2321,7 +2321,7 @@ "__id__": 88 }, "asset": { - "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", + "__uuid__": "a185ad99-a791-4309-9851-549c756647b9", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2332,7 +2332,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "83pviN435IIaRklSDGOz0l", + "fileId": "2dNcKKFAlNwIYUuD5weSNf", "prefabRootNode": { "__id__": 1 }, @@ -2358,7 +2358,7 @@ "__id__": 91 }, "asset": { - "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", + "__uuid__": "f8999765-2b3b-4d22-8a12-dd5165927db7", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2369,7 +2369,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "a5om7kHN1JdbRKsn3YvMH6", + "fileId": "3dTjkH83pHPYRadJV3DPVy", "prefabRootNode": { "__id__": 1 }, @@ -2395,7 +2395,7 @@ "__id__": 94 }, "asset": { - "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", + "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2406,7 +2406,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "33V4KXHJlG5oemoFTnf3VK", + "fileId": "0acJqn92pPy4rqAXzxhY7c", "prefabRootNode": { "__id__": 1 }, @@ -2432,7 +2432,7 @@ "__id__": 97 }, "asset": { - "__uuid__": "31e7557b-3a6b-4d2d-9daf-5a5e4b522638", + "__uuid__": "a185ad99-a791-4309-9851-549c756647b9", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2443,7 +2443,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "92hCN024NM+5IiwEE77UJM", + "fileId": "eaYjq/jFNISJbNayEHvyws", "prefabRootNode": { "__id__": 1 }, @@ -2469,7 +2469,7 @@ "__id__": 100 }, "asset": { - "__uuid__": "55a879b3-2ccd-48e3-bd43-c984e67f1637", + "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2480,7 +2480,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "07yZLraNxNY6l2ZflGTlI+", + "fileId": "a2Aif7cL5BbZrDamw5Z/kQ", "prefabRootNode": { "__id__": 1 }, @@ -2515,7 +2515,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "38OxPtimREPIBzCzwu/DRB" + "fileId": "31KF1CEsdIf6k0wYfszmvX" }, { "__type__": "cc.PrefabInfo", @@ -2525,7 +2525,7 @@ "asset": { "__id__": 0 }, - "fileId": "88MlNPBX9CX5xQi9Npn/C4", + "fileId": "762bHMRRRFvLTXe6Y06wLz", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2556,7 +2556,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "22rPhE9hxCdLRtn3fkQUZE" + "fileId": "3fGh6Zb3NEiLzx1z6Xx+bf" }, { "__type__": "cc.PrefabInfo", @@ -2566,7 +2566,7 @@ "asset": { "__id__": 0 }, - "fileId": "5658LWKttEfYGZnKNhXSwV", + "fileId": "c10i1vb9xDv6szvkdH+AEj", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2597,7 +2597,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "8dt2I2Tw5PxLW2VJKYeC9q" + "fileId": "a8JzdS0t5MjJVIis+dB1mf" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -2622,7 +2622,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "b4Z7RkqUROn4QiJ7rk9MvU" + "fileId": "1bq92t5rtCVpqg81UrQcuV" }, { "__type__": "5fd13+Xa69CZogb3Q/F1lnC", @@ -2795,7 +2795,7 @@ "asset": { "__id__": 0 }, - "fileId": "868c41Y85JzKKj2MuQNZpP", + "fileId": "73BwJ76lRKGbxt0CHpeJy8", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2985,7 +2985,7 @@ "__id__": 123 }, "asset": { - "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", + "__uuid__": "31e7557b-3a6b-4d2d-9daf-5a5e4b522638", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2996,7 +2996,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "f3WoFYKetOs45w6Gr3jChn", + "fileId": "05W5PaQMxH+4GAbKmdNxYw", "prefabRootNode": { "__id__": 1 }, @@ -3022,7 +3022,7 @@ "__id__": 126 }, "asset": { - "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", + "__uuid__": "a0fd2fb6-af52-4b80-a9fc-93d543fa2acd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3033,7 +3033,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "41UGiEk6xFAKjjIwjg5TXB", + "fileId": "5aC/jGfhdOQqVpMQwuM9Nc", "prefabRootNode": { "__id__": 1 }, @@ -3059,7 +3059,7 @@ "__id__": 129 }, "asset": { - "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", + "__uuid__": "a0fd2fb6-af52-4b80-a9fc-93d543fa2acd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3070,7 +3070,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "acFkZwyDtBhJyCbGwQeHhA", + "fileId": "6eRkXvZ9RMTqAM2tREH9x8", "prefabRootNode": { "__id__": 1 }, @@ -3096,7 +3096,7 @@ "__id__": 132 }, "asset": { - "__uuid__": "55a879b3-2ccd-48e3-bd43-c984e67f1637", + "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3107,7 +3107,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "6aaozN+fNFwq7uNp8h7gJ/", + "fileId": "aeFhfhbFtOUpiBantI+MPp", "prefabRootNode": { "__id__": 1 }, @@ -3133,7 +3133,7 @@ "__id__": 135 }, "asset": { - "__uuid__": "79c428b2-5899-404c-8495-991b407ef71b", + "__uuid__": "f8999765-2b3b-4d22-8a12-dd5165927db7", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3144,7 +3144,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "45idwGc+lOBIyEsCIksPuJ", + "fileId": "68QJePX6hES6rIMOzlJ4r1", "prefabRootNode": { "__id__": 1 }, @@ -3179,7 +3179,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "b7MYZewwNFJZpbXWlAH0YT" + "fileId": "614+XFhCFMjKaOZDzum2XQ" }, { "__type__": "cc.PrefabInfo", @@ -3189,7 +3189,7 @@ "asset": { "__id__": 0 }, - "fileId": "88CDrvT+1KGJzdTsflxS9N", + "fileId": "27pnWFsI9C5qWt2zEOall+", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3220,7 +3220,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "4b5MZdIbVMapS1a7VBDvnN" + "fileId": "31/86IM39BaIyOYtqCtzXd" }, { "__type__": "cc.PrefabInfo", @@ -3230,7 +3230,7 @@ "asset": { "__id__": 0 }, - "fileId": "68Os5odiNEUZHDL4UL6DTs", + "fileId": "4aFzHxL3VMm568qaCL1dwu", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3261,7 +3261,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "74r8ZIVCZAQ7FZKRekdnQr" + "fileId": "57pa2j9jFKkoWs6yd5wiK8" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3286,7 +3286,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "4eS6Sn/6dCypxSW6HdsjlO" + "fileId": "d5yHZb8wNOCa/W3e/YfmSW" }, { "__type__": "cc.PrefabInfo", @@ -3296,7 +3296,7 @@ "asset": { "__id__": 0 }, - "fileId": "5fJyawx5xCcrg0epvwC+OW", + "fileId": "7akENBn/dOWpfjTVTTXBi2", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3486,7 +3486,7 @@ "__id__": 152 }, "asset": { - "__uuid__": "a0fd2fb6-af52-4b80-a9fc-93d543fa2acd", + "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3497,7 +3497,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "3bM4dK3ARMCJhpGVvv46KK", + "fileId": "e4ZPfvn3xLrL90s+yPAbwI", "prefabRootNode": { "__id__": 1 }, @@ -3523,7 +3523,7 @@ "__id__": 155 }, "asset": { - "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", + "__uuid__": "a185ad99-a791-4309-9851-549c756647b9", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3534,7 +3534,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "197Cf/mRRN278L1yPMEzW3", + "fileId": "a9co6CWSZOd5lewerFYl5h", "prefabRootNode": { "__id__": 1 }, @@ -3560,7 +3560,7 @@ "__id__": 158 }, "asset": { - "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", + "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3571,7 +3571,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "37m1kq79dLiY5ZyjUHxE1F", + "fileId": "4bMT53bcpP6L9+VgVmNHKf", "prefabRootNode": { "__id__": 1 }, @@ -3597,7 +3597,7 @@ "__id__": 161 }, "asset": { - "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", + "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3608,7 +3608,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "ecJMLh0fJHMoG3x2kGzkC7", + "fileId": "c7pp4wKVFIfa7UO0wKu6ru", "prefabRootNode": { "__id__": 1 }, @@ -3634,7 +3634,7 @@ "__id__": 164 }, "asset": { - "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", + "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3645,7 +3645,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "82lyIM6gZClYtJAIvxBkOV", + "fileId": "d4GdcZMlNAD5a52wksKHSC", "prefabRootNode": { "__id__": 1 }, @@ -3680,7 +3680,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "d1QywsScZKprueAxRqjCTz" + "fileId": "f0K9M5DBJB5L4FTXbHqcsT" }, { "__type__": "cc.PrefabInfo", @@ -3690,7 +3690,7 @@ "asset": { "__id__": 0 }, - "fileId": "43TkmazNpOXKtD++aVNryr", + "fileId": "aeg9okyGBKt6qTPS1v1zbu", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3721,7 +3721,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "37G3RpGAdK1qTLXekZXWbw" + "fileId": "c72ikSjCBK3oeEEV9c3WMa" }, { "__type__": "cc.PrefabInfo", @@ -3731,7 +3731,7 @@ "asset": { "__id__": 0 }, - "fileId": "53IAS49TlDZJpQllIU8GYq", + "fileId": "e8iET8f2REhYs/YiiwaPfj", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3762,7 +3762,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "85q2Jsi/pABZIR8L6k5KnW" + "fileId": "73FF6DJapPoZMshjUqUKip" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3787,7 +3787,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "62VlPSOepOnLTXa2ccDLcM" + "fileId": "a430/70KBNLrTlTvMsVLpg" }, { "__type__": "cc.PrefabInfo", @@ -3797,7 +3797,7 @@ "asset": { "__id__": 0 }, - "fileId": "bfqLJ1BQlDIrAmV6tHqIj5", + "fileId": "baIMDo2JxMbr7Po3MlPsqq", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3987,7 +3987,7 @@ "__id__": 181 }, "asset": { - "__uuid__": "a185ad99-a791-4309-9851-549c756647b9", + "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3998,7 +3998,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "09AJKTjVBK6KNyJfyYxFyB", + "fileId": "27UjnIYKtGJZAO9Km6SjES", "prefabRootNode": { "__id__": 1 }, @@ -4024,7 +4024,7 @@ "__id__": 184 }, "asset": { - "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", + "__uuid__": "09ec107b-880c-45b8-ad98-84592e637c0b", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4035,7 +4035,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "26jYr+8vhBarMO715eTYpZ", + "fileId": "b2rlWUQf1C7ZHx9C9KEcbS", "prefabRootNode": { "__id__": 1 }, @@ -4061,7 +4061,7 @@ "__id__": 187 }, "asset": { - "__uuid__": "a0fd2fb6-af52-4b80-a9fc-93d543fa2acd", + "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4072,7 +4072,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "a2QRby8N5MPoQJob9p2rZB", + "fileId": "791vKNQkNI24PpYzM/2XoP", "prefabRootNode": { "__id__": 1 }, @@ -4098,7 +4098,7 @@ "__id__": 190 }, "asset": { - "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", + "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4109,7 +4109,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "d0LncPCQFG6b5pBpN+yp8G", + "fileId": "bfAHhoC45L8IlldMQqo79x", "prefabRootNode": { "__id__": 1 }, @@ -4135,7 +4135,7 @@ "__id__": 193 }, "asset": { - "__uuid__": "a0fd2fb6-af52-4b80-a9fc-93d543fa2acd", + "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4146,7 +4146,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "8esN8taP9O05XCNnaq11DH", + "fileId": "07o1RtwEVPO5Qs4NnpGKdZ", "prefabRootNode": { "__id__": 1 }, @@ -4181,7 +4181,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "62/MhFbC1M+ZVYj6O/MY2R" + "fileId": "e4AtuOEZVONa+JaeHNzPo2" }, { "__type__": "cc.PrefabInfo", @@ -4191,7 +4191,7 @@ "asset": { "__id__": 0 }, - "fileId": "c06XrEun9DFbOA7o2bpRoI", + "fileId": "62KxjSD/VNEpXA0KC+bwoF", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4222,7 +4222,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "d5zF+zS4ZFIqXUOP/OWqSi" + "fileId": "36POc4EjZEVKsjDjpm7yVd" }, { "__type__": "cc.PrefabInfo", @@ -4232,7 +4232,7 @@ "asset": { "__id__": 0 }, - "fileId": "dfNsNmo21FoY55pXJa5WA+", + "fileId": "79tUgiYblKmpm/XyG3cZ7P", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4263,7 +4263,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "ads+z5mrVHKZIBCZB6ixIY" + "fileId": "2aLzIQ259HhaIkpH0VmmwD" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -4288,7 +4288,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "217RHWp39Mpq7WjeQ6H0z9" + "fileId": "5aGOjsmxFK1YIF8XJApqSh" }, { "__type__": "cc.PrefabInfo", @@ -4298,7 +4298,7 @@ "asset": { "__id__": 0 }, - "fileId": "dbVYyCLFpAb6ZbPx31x1dr", + "fileId": "d3hb7DBwNALIdEYtOH9rrN", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4488,7 +4488,7 @@ "__id__": 210 }, "asset": { - "__uuid__": "55a879b3-2ccd-48e3-bd43-c984e67f1637", + "__uuid__": "79c428b2-5899-404c-8495-991b407ef71b", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4499,7 +4499,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "a5mPZm1B1OaI38ydbqqIIu", + "fileId": "feKhJVU41EGZgc3tmcbDQg", "prefabRootNode": { "__id__": 1 }, @@ -4525,7 +4525,7 @@ "__id__": 213 }, "asset": { - "__uuid__": "31e7557b-3a6b-4d2d-9daf-5a5e4b522638", + "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4536,7 +4536,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "460rHbKhFEZKJJuGz8EpvO", + "fileId": "94jAgzksFB6Z+waKyXFoWt", "prefabRootNode": { "__id__": 1 }, @@ -4562,7 +4562,7 @@ "__id__": 216 }, "asset": { - "__uuid__": "f8999765-2b3b-4d22-8a12-dd5165927db7", + "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4573,7 +4573,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "84CPTI/f5FjqqmeW3Qbh8Z", + "fileId": "a16XYMyFBGdrP2S2jOnTNz", "prefabRootNode": { "__id__": 1 }, @@ -4599,7 +4599,7 @@ "__id__": 219 }, "asset": { - "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", + "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4610,7 +4610,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "872g2Jf7JIfaBMO89mX1na", + "fileId": "5fAiQg+w9EAoKkfmsCYqGq", "prefabRootNode": { "__id__": 1 }, @@ -4636,7 +4636,7 @@ "__id__": 222 }, "asset": { - "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", + "__uuid__": "55a879b3-2ccd-48e3-bd43-c984e67f1637", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4647,7 +4647,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "dcsarb3HZHqqFwRUUJuCai", + "fileId": "e4NXBU24tHX4q9wjd/wL4k", "prefabRootNode": { "__id__": 1 }, @@ -4682,7 +4682,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "00G1oY67dG6amEc4ci+Ajl" + "fileId": "f0uTfsBfVCPZVu6tRNrevw" }, { "__type__": "cc.PrefabInfo", @@ -4692,7 +4692,7 @@ "asset": { "__id__": 0 }, - "fileId": "01552xa0RE74pdbs7DwnuF", + "fileId": "0b8VCJ3v5Fu6+QSGUEGHha", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4723,7 +4723,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "980eBXaulBt6Gni1X2xw1f" + "fileId": "800h383hRIdomJc72NBtWV" }, { "__type__": "cc.PrefabInfo", @@ -4733,7 +4733,7 @@ "asset": { "__id__": 0 }, - "fileId": "50JGt8ZUxPR4ZYQkayudIg", + "fileId": "bfFdT2+wlIaJuS/Th5bZFv", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4764,7 +4764,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "f2p0H/SZFOGKTCgD+O0sp3" + "fileId": "aaQltxOEZIwp4IHuQHA+zo" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -4789,7 +4789,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "03RFTMh4ZD/7XqNPuJcBj4" + "fileId": "74ipraz0RAQ5uX1wRdJqzp" }, { "__type__": "cc.PrefabInfo", @@ -4799,7 +4799,7 @@ "asset": { "__id__": 0 }, - "fileId": "84gx1QEixAX6bRa9q0Z7OH", + "fileId": "cbrZyhgS1Kc5gN7/yQpjmS", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4989,7 +4989,7 @@ "__id__": 239 }, "asset": { - "__uuid__": "f8999765-2b3b-4d22-8a12-dd5165927db7", + "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5000,7 +5000,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "67pQV8fIJP0rX7RkRgtlUb", + "fileId": "31Q4QnJvRCfLRHmyBPUGJd", "prefabRootNode": { "__id__": 1 }, @@ -5026,7 +5026,7 @@ "__id__": 242 }, "asset": { - "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", + "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5037,7 +5037,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "84et1UPPJP4qCBOgUGn/nx", + "fileId": "95F6RgdFtGgp9PUYPWOFxP", "prefabRootNode": { "__id__": 1 }, @@ -5063,7 +5063,7 @@ "__id__": 245 }, "asset": { - "__uuid__": "31e7557b-3a6b-4d2d-9daf-5a5e4b522638", + "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5074,7 +5074,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "14twGBeJJHzqb6MifNKP8q", + "fileId": "efZ7UUT/9HO413VSR4s12k", "prefabRootNode": { "__id__": 1 }, @@ -5100,7 +5100,7 @@ "__id__": 248 }, "asset": { - "__uuid__": "a185ad99-a791-4309-9851-549c756647b9", + "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5111,7 +5111,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "89nfm7CiVDjKDTk7DeXVaW", + "fileId": "54ajXMQ9hMeZzG89dtvnXh", "prefabRootNode": { "__id__": 1 }, @@ -5137,7 +5137,7 @@ "__id__": 251 }, "asset": { - "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", + "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5148,7 +5148,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "a24VX2Qi1I06SPROhzZ1Fy", + "fileId": "67aYn4C4BI05DOondWRuCW", "prefabRootNode": { "__id__": 1 }, @@ -5183,7 +5183,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "fc++J2wx5Fd40bJPDNvn4N" + "fileId": "05TSYyWARDyITP6f3hKJPG" }, { "__type__": "cc.PrefabInfo", @@ -5193,7 +5193,7 @@ "asset": { "__id__": 0 }, - "fileId": "37SQiHocJFk4lw5Gyh1mm9", + "fileId": "113BoeMNVCIr8Avqv0kRwD", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -5224,7 +5224,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "863xXO8ldKrZII8B1JrMxW" + "fileId": "6cJ3nTyUdPDbyNG+sgnLEd" }, { "__type__": "cc.PrefabInfo", @@ -5234,7 +5234,7 @@ "asset": { "__id__": 0 }, - "fileId": "184JuunSNEAaEHVJmpggQr", + "fileId": "58GH6Tu5hNkqQUNNJbNADJ", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -5265,7 +5265,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "d4wrWCsYxLr7ORlIIVAvi7" + "fileId": "a50F+RFVVKuaiFmEbHE0bB" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -5290,7 +5290,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "ffhf4qHgpFVbFMYwWZE6xe" + "fileId": "faJnU8VJhH/Yd7PCNauCd1" }, { "__type__": "cc.PrefabInfo", @@ -5300,7 +5300,7 @@ "asset": { "__id__": 0 }, - "fileId": "8e4hQTAFlJvKbfbNHT9atP", + "fileId": "ae3zqWbq1M4I7CikOg8qKD", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -5325,7 +5325,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "2b6MZT7LJHQKxjR+ecCmp0" + "fileId": "03CmHO3YBLl4hBG8UzemoQ" }, { "__type__": "cc.UITransform", @@ -5353,7 +5353,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "d8sg7efi1HlbBN05HrY0YW" + "fileId": "a1YJcuXNFFlKTGxpLGKFrX" }, { "__type__": "cc.Graphics", @@ -5399,7 +5399,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "a5BL3tcbNGHqBz+vsy6ZDh" + "fileId": "ccTugWPCpEc5mthEuASxJ3" }, { "__type__": "cc.PrefabInfo", @@ -5409,7 +5409,7 @@ "asset": { "__id__": 0 }, - "fileId": "57BOzU1XZOiaD2N96Jti18", + "fileId": "20QlcPOL5ENZvPAxHREKaD", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -29241,7 +29241,7 @@ "__id__": 1466 } ], - "_active": false, + "_active": true, "_components": [ { "__id__": 1510 diff --git a/assets/Game/scripts/SlotBar.ts b/assets/Game/scripts/SlotBar.ts index ac9d110..09e6cef 100644 --- a/assets/Game/scripts/SlotBar.ts +++ b/assets/Game/scripts/SlotBar.ts @@ -28,6 +28,7 @@ import { AutoSpinPanel } from "./game/AutoSpinPanel"; import { NodePoolManager } from "../../Loading/scripts/manager/NodePoolManager"; import { webView } from "./game/WebView"; import { + cash2gold, getHistoryUrl, getOddsUrl, getSupportUrl, diff --git a/assets/Game/scripts/SlotScene.ts b/assets/Game/scripts/SlotScene.ts index bac8341..00075d4 100644 --- a/assets/Game/scripts/SlotScene.ts +++ b/assets/Game/scripts/SlotScene.ts @@ -290,14 +290,9 @@ export class SlotScene extends Component { } else { if (!isFreeSpin) { if (!isFeatureBuy) { - this.slotBar.setBalance( - this.slotBar.getBalance() - this.slotBar.getBet() - ); + this.slotBar.setBalance(this.slotBar.getBalance() - this.slotBar.getBet()); } else { - this.slotBar.setBalance( - this.slotBar.getBalance() - - this.slotBar.getBet() * this.gameInfo.BuyMul - ); + this.slotBar.setBalance(this.slotBar.getBalance() - (this.slotBar.getBet() * this.gameInfo.BuyMul)); } } } @@ -313,32 +308,32 @@ export class SlotScene extends Component { IsBuy: true, }; } - if (!this.gameState.isDebug) { this.spinInfo = await callGameApi("spin", msg); if (this.spinInfo.Frb.Ongoing) { + if (!isFreeSpin) { + let count = this.spinInfo.Frb.Ongoing.Frn; + if (count <= 0) { + count = 0; + } + this.SysGift.handleSysInfoFreeCount(count); + } if (this.gameState.isAutoSpin) { this.slotBar.closeAutoSpin(); } } + if (this.spinInfo.Frb.Finished) { + if (!isFreeSpin) { + let count = this.spinInfo.Frb.Finished.Frn; + if (count <= 0) { + count = 0; + } + this.SysGift.handleSysInfoFreeCount(count); + } + } GameDataManager.instance.frb = this.spinInfo.Frb; - if (frb) { - let count = 0; - - if (frb.Ongoing != null) { - count = frb.Ongoing.Frn - 1; - } - if (frb.Finished != null) { - count = frb.Finished.Frn; - - } - if (count <= 0) { - count = 0; - } - this.SysGift.handleSysInfoFreeCount(count); - } } else { this.spinInfo = null; }