diff --git a/assets/Game/prefabs/SlotScene.prefab b/assets/Game/prefabs/SlotScene.prefab index deae015..c5897e9 100644 --- a/assets/Game/prefabs/SlotScene.prefab +++ b/assets/Game/prefabs/SlotScene.prefab @@ -2324,7 +2324,7 @@ "__id__": 88 }, "asset": { - "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", + "__uuid__": "a0fd2fb6-af52-4b80-a9fc-93d543fa2acd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2335,7 +2335,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "80g+/N2XVID4RLsl1Lqkew", + "fileId": "b8va6xupJKE4vVXYldW/Nt", "prefabRootNode": { "__id__": 1 }, @@ -2361,7 +2361,7 @@ "__id__": 91 }, "asset": { - "__uuid__": "a185ad99-a791-4309-9851-549c756647b9", + "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2372,7 +2372,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "ae8xVUgyVK+4K1IGDFd/UK", + "fileId": "97SQY/n/FIjpJPnC2Mte7+", "prefabRootNode": { "__id__": 1 }, @@ -2398,7 +2398,7 @@ "__id__": 94 }, "asset": { - "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", + "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2409,7 +2409,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "2elmAnEyZLQ6q9W7loMi5U", + "fileId": "2fNRPq3fZKEJFk1oyH3X7x", "prefabRootNode": { "__id__": 1 }, @@ -2435,7 +2435,7 @@ "__id__": 97 }, "asset": { - "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", + "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2446,7 +2446,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "5e58wod5ZHwpiFzVonA3ul", + "fileId": "69RmDObJJAZ4YOsNfaAMyl", "prefabRootNode": { "__id__": 1 }, @@ -2472,7 +2472,7 @@ "__id__": 100 }, "asset": { - "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", + "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2483,7 +2483,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "d8rHbmBrVGCISPjD8d2daQ", + "fileId": "b3FGIDEwpLAr1iuybASx9t", "prefabRootNode": { "__id__": 1 }, @@ -2518,7 +2518,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "13sjcBeeND3JxOYb5zBB+k" + "fileId": "b9Fb1rmfpB46ljJtp4Bf6P" }, { "__type__": "cc.PrefabInfo", @@ -2528,7 +2528,7 @@ "asset": { "__id__": 0 }, - "fileId": "11Y+tELo1F5oKI37IGqSPy", + "fileId": "99wil+sglJYZLXPSUvh0GN", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2559,7 +2559,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "a56oCQN2dHfacAqyZNgNso" + "fileId": "acOOzEeAlPq5980UvB91q9" }, { "__type__": "cc.PrefabInfo", @@ -2569,7 +2569,7 @@ "asset": { "__id__": 0 }, - "fileId": "54rXycC55GOJStsSUwnNWq", + "fileId": "af7QS6sYZL8YLIs0pGNR/i", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2600,7 +2600,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "d9Bw1BucZB2oS7FBQXCP9E" + "fileId": "3a91a/0QVNepe+mmmB0wZ7" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -2625,7 +2625,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "6c7iqDiVtIGLXO6badzA3b" + "fileId": "00SNiTfMFP8bVtjBdEs5MD" }, { "__type__": "5fd13+Xa69CZogb3Q/F1lnC", @@ -2798,7 +2798,7 @@ "asset": { "__id__": 0 }, - "fileId": "59xLvgXypAsaWpyT2a1qs7", + "fileId": "1bd45vevFKPZ6e4a2HdBq9", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2988,7 +2988,7 @@ "__id__": 123 }, "asset": { - "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", + "__uuid__": "f8999765-2b3b-4d22-8a12-dd5165927db7", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -2999,7 +2999,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "24PldwwoJMrpzFC+ttFRaO", + "fileId": "21LRu1k6RNMJSgVgApszjR", "prefabRootNode": { "__id__": 1 }, @@ -3025,7 +3025,7 @@ "__id__": 126 }, "asset": { - "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", + "__uuid__": "79c428b2-5899-404c-8495-991b407ef71b", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3036,7 +3036,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "71kXTRct5JI6H62Q6o0nUz", + "fileId": "1eKrzLN2RBh6JDefDEIYBP", "prefabRootNode": { "__id__": 1 }, @@ -3062,7 +3062,7 @@ "__id__": 129 }, "asset": { - "__uuid__": "09ec107b-880c-45b8-ad98-84592e637c0b", + "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3073,7 +3073,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "6bLm4V2nNI1Zhk7LkPShf8", + "fileId": "6d3ThN24BGMaamfRYuclg3", "prefabRootNode": { "__id__": 1 }, @@ -3099,7 +3099,7 @@ "__id__": 132 }, "asset": { - "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", + "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3110,7 +3110,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "7dBJxHgYlOsqQGfEOpChZ4", + "fileId": "f3W83EichKkaQvDv3F0wig", "prefabRootNode": { "__id__": 1 }, @@ -3136,7 +3136,7 @@ "__id__": 135 }, "asset": { - "__uuid__": "f8999765-2b3b-4d22-8a12-dd5165927db7", + "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3147,7 +3147,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "35VGy7qLhNhYGR085oEZh2", + "fileId": "2aH21ThA1BO7VcvEA5ax9i", "prefabRootNode": { "__id__": 1 }, @@ -3182,7 +3182,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "97ekEZtVRNiJgih80CZ5bA" + "fileId": "9eICbGOY9GdZbS9Vpix7bp" }, { "__type__": "cc.PrefabInfo", @@ -3192,7 +3192,7 @@ "asset": { "__id__": 0 }, - "fileId": "75bDDkg/xMUotVkraCUg7I", + "fileId": "b1r1mOZCJP1oOnt7nxyoe8", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3223,7 +3223,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "9eyisnruZLyraBszqsqLg6" + "fileId": "0ccDB8GnVPmqRgaW8WxcVe" }, { "__type__": "cc.PrefabInfo", @@ -3233,7 +3233,7 @@ "asset": { "__id__": 0 }, - "fileId": "24bsOliYRNXJPg96eqfMJH", + "fileId": "7dvXYDo+ZDnpoGg+Btu65y", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3264,7 +3264,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "3fvU1aHR1PZoSoI7d3pr+c" + "fileId": "989cZoijBDubCMrEbjtKks" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3289,7 +3289,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "14lxvZGp9MupeQ/Rk3Zy4c" + "fileId": "85PS1uKndMH6ZCEMAuxg0C" }, { "__type__": "cc.PrefabInfo", @@ -3299,7 +3299,7 @@ "asset": { "__id__": 0 }, - "fileId": "32S0sgZkBO+YIcyaXv5ltt", + "fileId": "97E6AzpHpM54ZN6Ar2cbcl", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3489,7 +3489,7 @@ "__id__": 152 }, "asset": { - "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", + "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3500,7 +3500,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "48LkABwudD9qlzmaYPTOt8", + "fileId": "3dTQV0nqxMF4gj9SaNZd6C", "prefabRootNode": { "__id__": 1 }, @@ -3526,7 +3526,7 @@ "__id__": 155 }, "asset": { - "__uuid__": "55a879b3-2ccd-48e3-bd43-c984e67f1637", + "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3537,7 +3537,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "7fSc3078FNdpHDiLXD86WN", + "fileId": "8ayCQw5RZB3pshlP/ngWT/", "prefabRootNode": { "__id__": 1 }, @@ -3574,7 +3574,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "35lgHfGf9AS66D43RYQ1V9", + "fileId": "c5TE0AS9VLsYzFk86toeQR", "prefabRootNode": { "__id__": 1 }, @@ -3600,7 +3600,7 @@ "__id__": 161 }, "asset": { - "__uuid__": "55a879b3-2ccd-48e3-bd43-c984e67f1637", + "__uuid__": "a185ad99-a791-4309-9851-549c756647b9", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3611,7 +3611,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "66cdlt0HBPyZ7DbQl146yE", + "fileId": "c3yZ47wCVJV6/lw01DK9GH", "prefabRootNode": { "__id__": 1 }, @@ -3637,7 +3637,7 @@ "__id__": 164 }, "asset": { - "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", + "__uuid__": "09ec107b-880c-45b8-ad98-84592e637c0b", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -3648,7 +3648,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "89QlKuC8VDUaJtCYSnTvIa", + "fileId": "ca0rld6itD6Zas0Ins0eXW", "prefabRootNode": { "__id__": 1 }, @@ -3683,7 +3683,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "9cIFHjNJJLR5qjacRou5dJ" + "fileId": "d9n36C4BdHz4Ibz12VvS82" }, { "__type__": "cc.PrefabInfo", @@ -3693,7 +3693,7 @@ "asset": { "__id__": 0 }, - "fileId": "b5l2uIgkJEgY8n/tVVF1vs", + "fileId": "69OZlGzsZGPodtRgliIVRr", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3724,7 +3724,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "82z4muJE5DspUyndMrNwGl" + "fileId": "0a0VKgi0RMdqrjAwsw61nl" }, { "__type__": "cc.PrefabInfo", @@ -3734,7 +3734,7 @@ "asset": { "__id__": 0 }, - "fileId": "7fmON9YN5Fs5A/2biOIMPE", + "fileId": "3044G+MdVMoaNKASHyC5Id", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3765,7 +3765,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "56X8eWRURLiYaQC8TXedrE" + "fileId": "394VjJgcxEEpl8G3Kuk7WN" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3790,7 +3790,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "e1Iia5N7NNNIulPdYFEfmb" + "fileId": "21tOB93eNP7oktzGQaidkR" }, { "__type__": "cc.PrefabInfo", @@ -3800,7 +3800,7 @@ "asset": { "__id__": 0 }, - "fileId": "396whuEzBCWK9+G36t5ePv", + "fileId": "47da8QomlP1KkBNGUUmeMo", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3990,7 +3990,7 @@ "__id__": 181 }, "asset": { - "__uuid__": "f8999765-2b3b-4d22-8a12-dd5165927db7", + "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4001,7 +4001,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "2aSKiWpNlLuqi3JiWPl1Yr", + "fileId": "18Z0yKAI5Ea6YU6rYiLslP", "prefabRootNode": { "__id__": 1 }, @@ -4027,7 +4027,7 @@ "__id__": 184 }, "asset": { - "__uuid__": "09ec107b-880c-45b8-ad98-84592e637c0b", + "__uuid__": "2c62af7c-9b93-48ff-bd76-a2dfd799659e", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4038,7 +4038,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "b5y6QqPBNNbJO53JSmllv3", + "fileId": "b2+DXWwVdBZ5qsrQlbtknx", "prefabRootNode": { "__id__": 1 }, @@ -4064,7 +4064,7 @@ "__id__": 187 }, "asset": { - "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", + "__uuid__": "79c428b2-5899-404c-8495-991b407ef71b", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4075,7 +4075,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "edLUK7Z6FESITEkFWQTbBh", + "fileId": "5egcoZIztHxLON3yRpRHMi", "prefabRootNode": { "__id__": 1 }, @@ -4101,7 +4101,7 @@ "__id__": 190 }, "asset": { - "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", + "__uuid__": "09ec107b-880c-45b8-ad98-84592e637c0b", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4112,7 +4112,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "808tj3Sm9Lr5UcvcDj1om3", + "fileId": "44pc0cimlDuJfnj6YKdWPD", "prefabRootNode": { "__id__": 1 }, @@ -4138,7 +4138,7 @@ "__id__": 193 }, "asset": { - "__uuid__": "a185ad99-a791-4309-9851-549c756647b9", + "__uuid__": "a0fd2fb6-af52-4b80-a9fc-93d543fa2acd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4149,7 +4149,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "e03+CvxW9B9rYbjHZ5NVi9", + "fileId": "3faAMgj1ZF4qiisB3995ZD", "prefabRootNode": { "__id__": 1 }, @@ -4184,7 +4184,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "a7K8YzWnVCbaiYaKmmvjGz" + "fileId": "23DhcSz/RN1rgAzciQHvJS" }, { "__type__": "cc.PrefabInfo", @@ -4194,7 +4194,7 @@ "asset": { "__id__": 0 }, - "fileId": "4dY5ENKB9KHogeFQTbQ2P6", + "fileId": "83V5QkJv1L6K3oQLNswEQV", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4225,7 +4225,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "f8UkOOq15K5JGWK+vA+ZEK" + "fileId": "4b7zIAWotIxIYG9qhkf7YN" }, { "__type__": "cc.PrefabInfo", @@ -4235,7 +4235,7 @@ "asset": { "__id__": 0 }, - "fileId": "27DMprNiZD25dokBIH+NJZ", + "fileId": "84rect7DBBJpxTBucdKW06", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4266,7 +4266,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "70lXgqqj1B6qxCuu2ooF7p" + "fileId": "7aLkB1A/FOsYyUE5D+fW/d" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -4291,7 +4291,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "2fJ3h6sH5OcrXN0HFVjtIf" + "fileId": "057nV8KHhLhq8jpBgFEiSg" }, { "__type__": "cc.PrefabInfo", @@ -4301,7 +4301,7 @@ "asset": { "__id__": 0 }, - "fileId": "6cb7bqOndKNq2d5uplsHrL", + "fileId": "a22V4T3ARFlLXepgO8WJTQ", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4491,7 +4491,7 @@ "__id__": 210 }, "asset": { - "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", + "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4502,7 +4502,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "bd4AgAgWNHfY9QsCRcyDY8", + "fileId": "a9Nt6hyNRIwq/pyrvIE7jf", "prefabRootNode": { "__id__": 1 }, @@ -4528,7 +4528,7 @@ "__id__": 213 }, "asset": { - "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", + "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4539,7 +4539,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "1bNsRYljFJFq9LFyzOECCa", + "fileId": "f99STlOcROAKM0kbX8Xzkw", "prefabRootNode": { "__id__": 1 }, @@ -4565,7 +4565,7 @@ "__id__": 216 }, "asset": { - "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", + "__uuid__": "a185ad99-a791-4309-9851-549c756647b9", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4576,7 +4576,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "eaiRjypjlPnJhHfoUrkGMF", + "fileId": "026peQ4YBGFqxHU9v0zniv", "prefabRootNode": { "__id__": 1 }, @@ -4602,7 +4602,7 @@ "__id__": 219 }, "asset": { - "__uuid__": "a185ad99-a791-4309-9851-549c756647b9", + "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4613,7 +4613,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "21C8OtA4RIYbK/vNNSruUx", + "fileId": "0cN/GRi/JCSaR6AM9sQZWt", "prefabRootNode": { "__id__": 1 }, @@ -4639,7 +4639,7 @@ "__id__": 222 }, "asset": { - "__uuid__": "a185ad99-a791-4309-9851-549c756647b9", + "__uuid__": "e50482a2-447d-46ce-91f0-488953dda75c", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -4650,7 +4650,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "d3uZVSRyBCRqem60ZyuYT2", + "fileId": "ce06SSDp5BGYqheKVJStFZ", "prefabRootNode": { "__id__": 1 }, @@ -4685,7 +4685,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "e8pLkeNDFFmro1FRx08pcm" + "fileId": "55yh71D/pLtbyQpjzdQEBu" }, { "__type__": "cc.PrefabInfo", @@ -4695,7 +4695,7 @@ "asset": { "__id__": 0 }, - "fileId": "55EAKMbd1L9YylhoHUmkIv", + "fileId": "63BnYmmYZG+pUimxYFAeUI", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4726,7 +4726,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "9dQXGjIlBJOpq7YqpjFqeA" + "fileId": "6f0uoVi31CmIbCYvENXRCw" }, { "__type__": "cc.PrefabInfo", @@ -4736,7 +4736,7 @@ "asset": { "__id__": 0 }, - "fileId": "870tmnQsVPmLlJFWkMDBCR", + "fileId": "14oH7V/yNPIr7nQjJtEXBQ", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4767,7 +4767,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "61O20bTSpJCp788NesZmYv" + "fileId": "77W48Z22pO2r8MIFCzK4sW" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -4792,7 +4792,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "4e9/BTWypB/6Kf9AAO2HCQ" + "fileId": "bcgEleoU5Pc46KP9iLe+1S" }, { "__type__": "cc.PrefabInfo", @@ -4802,7 +4802,7 @@ "asset": { "__id__": 0 }, - "fileId": "31KiiH1EJGbr1/nSmdNpQk", + "fileId": "edK8b9Q6pFDrjmt+sptFJ/", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4992,7 +4992,7 @@ "__id__": 239 }, "asset": { - "__uuid__": "55a879b3-2ccd-48e3-bd43-c984e67f1637", + "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5003,7 +5003,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "88wAyAax1EVo8lY+/bB3Vj", + "fileId": "55rzS94zFBTbID06i18K5V", "prefabRootNode": { "__id__": 1 }, @@ -5029,7 +5029,7 @@ "__id__": 242 }, "asset": { - "__uuid__": "09ec107b-880c-45b8-ad98-84592e637c0b", + "__uuid__": "5347ef5a-5046-4c36-be8f-bb27dc475204", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5040,7 +5040,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "2660H1FRRFQrt/QcP/uOl3", + "fileId": "3dcFuugKNEwLi7Ao7CLkqM", "prefabRootNode": { "__id__": 1 }, @@ -5066,7 +5066,7 @@ "__id__": 245 }, "asset": { - "__uuid__": "c2de34b1-99b2-49c4-a6ec-44eeb63b12cd", + "__uuid__": "79c428b2-5899-404c-8495-991b407ef71b", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5077,7 +5077,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "a6quGF5U1G3LRSvL/yw1GA", + "fileId": "15hXeWYLtCKqs2vHWXSRuA", "prefabRootNode": { "__id__": 1 }, @@ -5103,7 +5103,7 @@ "__id__": 248 }, "asset": { - "__uuid__": "a4cde73d-6ad9-430a-9b55-6f16ff2da91e", + "__uuid__": "e218006e-19e0-486f-b9db-e13d4c1f6cad", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5114,7 +5114,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "28t+zSNedK17S/T2EF+6j/", + "fileId": "3fQlx57cdC5pbpgeVqdYv9", "prefabRootNode": { "__id__": 1 }, @@ -5140,7 +5140,7 @@ "__id__": 251 }, "asset": { - "__uuid__": "09ec107b-880c-45b8-ad98-84592e637c0b", + "__uuid__": "79c428b2-5899-404c-8495-991b407ef71b", "__expectedType__": "cc.Prefab" }, "fileId": "fchELCmEtHhb3lT1fagDGR", @@ -5151,7 +5151,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "0bYRqfvt5DQ5PrMPYQcHGr", + "fileId": "2bTqcHtTVGx74s2F66nVZJ", "prefabRootNode": { "__id__": 1 }, @@ -5186,7 +5186,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "0c6SeYAbpHWYCcbTGKM3fi" + "fileId": "df5+QJNJtKc4O26MIrtp5U" }, { "__type__": "cc.PrefabInfo", @@ -5196,7 +5196,7 @@ "asset": { "__id__": 0 }, - "fileId": "55IWA0F6lAj79yg7m+Rb1G", + "fileId": "d9/cVhTZVAcJRAjjHIkv/n", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -5227,7 +5227,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "5fZ7WZeZlAQq3XsaYjdDIL" + "fileId": "50twzu46JKIoZ0hXtARqnx" }, { "__type__": "cc.PrefabInfo", @@ -5237,7 +5237,7 @@ "asset": { "__id__": 0 }, - "fileId": "f78Mi16+hP3oFtT+qj+wec", + "fileId": "79w9u1J0ZKio9fX2U4OTkx", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -5268,7 +5268,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "82AeCB/tNNHYKFFo8H3qmr" + "fileId": "c3PSD0X01H1KY2bIbFsicP" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -5293,7 +5293,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "42meBWhjVCf7dbY830eqm5" + "fileId": "251FVBs4RKGZ1i0Fcoifuw" }, { "__type__": "cc.PrefabInfo", @@ -5303,7 +5303,7 @@ "asset": { "__id__": 0 }, - "fileId": "133WtJkLRNXLsbjZTPLWj0", + "fileId": "1fI6T/TZ5PBobsyl+3IQSU", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -5328,7 +5328,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "e0MR4KVT5DVbJfdaIwEwsw" + "fileId": "82MJrjQZ1Ih6UpmoUqx6Eo" }, { "__type__": "cc.UITransform", @@ -5356,7 +5356,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "2eghV/Li1EVJlY7VGi8dnP" + "fileId": "69TmSV9e5DXpEZOuHwAu0x" }, { "__type__": "cc.Graphics", @@ -5402,7 +5402,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "f9uSEzrcBDMadgCwECW+b7" + "fileId": "ebPMY+y7FK76+3X6GExeVK" }, { "__type__": "cc.PrefabInfo", @@ -5412,7 +5412,7 @@ "asset": { "__id__": 0 }, - "fileId": "a2wD9fbXNG+I1jHm1FQ0zr", + "fileId": "65P3Z8CYJF8ZxRkBIuk5jx", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null diff --git a/assets/Loading/scripts/i18n/LocalizedSpine.ts b/assets/Loading/scripts/i18n/LocalizedSpine.ts deleted file mode 100644 index 9ec5a36..0000000 --- a/assets/Loading/scripts/i18n/LocalizedSpine.ts +++ /dev/null @@ -1,123 +0,0 @@ -import { _decorator, Component, resources } from 'cc'; -import { sp } from 'cc'; -import { I18nManager } from '../manager/I18nManager'; - -const { ccclass, property, executeInEditMode } = _decorator; - -@ccclass('LocalizedSpine') -export class LocalizedSpine extends Component { - private spineComponent: sp.Skeleton | null = null; - - @property({ tooltip: 'Spine资源名字' }) - private spineName: string = ''; - - @property({ tooltip: '默认动画名称' }) - private defaultAnimation: string = ''; - - @property({ tooltip: '是否自动播放默认动画' }) - private autoPlay: boolean = true; - - onLoad() { - if (!I18nManager.instance.getIsReady()) { - I18nManager.instance.init('en'); - } - this.fetchRender(); - } - - fetchRender() { - if (!this.spineComponent) { - this.spineComponent = this.getComponent(sp.Skeleton); - } - - if (this.spineComponent) { - this.updateSpine(); - } else { - console.warn(`LocalizedSpine: No Spine component found on node ${this.node.name}`); - this.loadDefaultSpine(); - } - } - - public updateSpine() { - if (!this.spineComponent || !this.spineName) return; - - const currentLanguage = I18nManager.instance.currentLanguage; - const cacheKey = `${currentLanguage}_${this.spineName}`; - - // 从I18nManager获取缓存的SpineData - const cachedSpineData = I18nManager.instance.spineCache.get(cacheKey); - if (cachedSpineData) { - this.setNewSpineData(cachedSpineData); - return; - } - - // 如果缓存中没有,从resources加载 - const spinePath = `i18nSprite/${currentLanguage}/${this.spineName}_${currentLanguage}`; - resources.load(spinePath, sp.SkeletonData, (err, spineData) => { - if (err) { - console.warn(`Failed to load spine: ${spinePath}`, err); - this.loadDefaultSpine(); - return; - } - - if (spineData) { - // 添加到I18nManager的缓存中 - I18nManager.instance.spineCache.set(cacheKey, spineData); - this.setNewSpineData(spineData); - } - }); - } - - private loadDefaultSpine() { - const defaultPath = `i18nSpine/en/${this.spineName}_en`; - const cacheKey = `en_${this.spineName}`; - - // 从I18nManager获取默认语言的缓存 - const cachedSpineData = I18nManager.instance.spineCache.get(cacheKey); - if (cachedSpineData) { - this.setNewSpineData(cachedSpineData); - return; - } - - resources.load(defaultPath, sp.SkeletonData, (err, spineData) => { - if (err) { - console.error('Failed to load default spine:', err); - return; - } - - if (spineData) { - I18nManager.instance.spineCache.set(cacheKey, spineData); - this.setNewSpineData(spineData); - } - }); - } - - private setNewSpineData(newData: sp.SkeletonData) { - if (this.spineComponent) { - this.spineComponent.skeletonData = newData; - - // 如果设置了默认动画且启用了自动播放,则播放默认动画 - if (this.defaultAnimation && this.autoPlay) { - this.spineComponent.setAnimation(0, this.defaultAnimation, true); - } - } - } - - public setSpineName(name: string) { - this.spineName = name; - this.updateSpine(); - } - - public playAnimation(animName: string, loop: boolean = false) { - if (this.spineComponent) { - this.spineComponent.setAnimation(0, animName, loop); - } - } - - onDestroy() { - // 清理组件引用 - if (this.spineComponent) { - this.spineComponent.skeletonData = null; - } - this.spineComponent = null; - } -} \ No newline at end of file diff --git a/assets/Loading/scripts/i18n/LocalizedSpine.ts.meta b/assets/Loading/scripts/i18n/LocalizedSpine.ts.meta deleted file mode 100644 index b898c0b..0000000 --- a/assets/Loading/scripts/i18n/LocalizedSpine.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "4.0.24", - "importer": "typescript", - "imported": true, - "uuid": "fff06ff8-efe2-4de7-a99a-f141dbd008f8", - "files": [], - "subMetas": {}, - "userData": {} -} diff --git a/assets/Loading/scripts/i18n/LocalizedSprite.ts b/assets/Loading/scripts/i18n/LocalizedSprite.ts index 7c5b218..9850706 100644 --- a/assets/Loading/scripts/i18n/LocalizedSprite.ts +++ b/assets/Loading/scripts/i18n/LocalizedSprite.ts @@ -5,15 +5,14 @@ const { ccclass, property, executeInEditMode } = _decorator; @ccclass('LocalizedSprite') export class LocalizedSprite extends Component { - private sprite: Sprite | null = null; + private sprite: Sprite | null = null; @property({ tooltip: '资源名字' }) - private spriteName: string = ''; + private spriteName: string = ''; onLoad() { - if (I18nManager.instance.ready) { - this.fetchRender(); - } + this.sprite = this.getComponent(Sprite); + this.updateSprite(); } fetchRender() {