From d257c49cdb50a7ef5c71ac1851b347fe6e265fff Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Wed, 25 May 2022 19:44:13 +0200 Subject: [PATCH 1/4] [unity] Increased compatible Unity version to 2022.1. --- CHANGELOG.md | 2 +- spine-unity/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23d62ade5..d34fdd900 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -78,7 +78,7 @@ ### Unity -* **Officially supported Unity versions are 2017.1-2021.1**. +* **Officially supported Unity versions are 2017.1-2022.1**. * **Breaking changes** * Removed all `Spine.Unity.AttachmentTools.SkinUtilities` Skin extension methods. These have become obsoleted and error-prone since the introduction of the new Skin API in 3.8. To fix any compile errors, replace any usage of `Skin` extension methods with their counterparts, e.g. replace occurrances of `skin.AddAttachments()` with `skin.AddSkin()`. Please see the example scene `Mix and Match Skins` on how to use the new Skin API to combine skins, or the updated old example scenes `Mix and Match` and `Mix and Match Equip` on how you can update an existing project using the old workflow. If you are using `skeletonAnimation.Skeleton.UnshareSkin()` in your code, you can replace it with `Skin customSkin = new Skin("custom skin"); customSkin.AddSkin(skeletonAnimation.Skeleton.Skin);`. * `Skin.GetAttachments()` has been replaced by `Skin.Attachments`, returning an `ICollection`. This makes access more consistent and intuitive. To fix any compile errors, replace any occurrances of `Skin.GetAttachments()` by `Skin.Attachments`. diff --git a/spine-unity/README.md b/spine-unity/README.md index 1713c411b..2db2b0b6c 100644 --- a/spine-unity/README.md +++ b/spine-unity/README.md @@ -22,7 +22,7 @@ Unity's physics components do not support dynamically assigned vertices so they ## Unity version -spine-unity is compatible with Unity 2017.1-2021.1. +spine-unity is compatible with Unity 2017.1-2022.1. ## Usage From 9fdb0e05b2f084b70ddee46becc34863d7cc3ba3 Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Wed, 25 May 2022 19:47:28 +0200 Subject: [PATCH 2/4] [unity] Increased compatible Unity version to 2022.1 in 4.1 changelog section as well. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6a0e81fe..fbad1ab5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -66,7 +66,7 @@ ### Unity -* **Officially supported Unity versions are 2017.1-2021.1**. +* **Officially supported Unity versions are 2017.1-2022.1**. * **Additions** * `SpineAtlasAsset.CreateRuntimeInstance` methods now provide an optional `newCustomTextureLoader` parameter (defaults to `null`) which can be set to e.g. `(a) => new YourCustomTextureLoader(a)` to use your own `TextureLoader` subclass instead of `MaterialsTextureLoader`. From b46f55b25b1a5b4b3b4b4f73a11d8e7408f89241 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Mon, 30 May 2022 11:47:16 +0200 Subject: [PATCH 3/4] [threejs] Updated to r140 --- spine-ts/package-lock.json | 32 +++++++++++------------ spine-ts/spine-threejs/example/index.html | 2 +- spine-ts/spine-threejs/package.json | 4 +-- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/spine-ts/package-lock.json b/spine-ts/package-lock.json index 3dd9c3e04..cde8525ff 100644 --- a/spine-ts/package-lock.json +++ b/spine-ts/package-lock.json @@ -53,9 +53,9 @@ "dev": true }, "node_modules/@types/three": { - "version": "0.138.0", - "resolved": "https://registry.npmjs.org/@types/three/-/three-0.138.0.tgz", - "integrity": "sha512-D8AoV7h2kbCfrv/DcebHOFh1WDwyus3HdooBkAwcBikXArdqnsQ38PQ85JCunnvun160oA9jz53GszF3zch3tg==" + "version": "0.140.0", + "resolved": "https://registry.npmjs.org/@types/three/-/three-0.140.0.tgz", + "integrity": "sha512-YPJLSIY6uKUOp1k6BZYDq5GtEIdhfeK04UCbc9IPAVbdn/RNjkfrbnyd7smrsNkJhc0IFASLpd3AAYgwqgXKVQ==" }, "node_modules/accepts": { "version": "1.3.8", @@ -7569,9 +7569,9 @@ } }, "node_modules/three": { - "version": "0.138.3", - "resolved": "https://registry.npmjs.org/three/-/three-0.138.3.tgz", - "integrity": "sha512-4t1cKC8gimNyJChJbaklg8W/qj3PpsLJUIFm5LIuAy/hVxxNm1ru2FGTSfbTSsuHmC/7ipsyuGKqrSAKLNtkzg==" + "version": "0.140.2", + "resolved": "https://registry.npmjs.org/three/-/three-0.140.2.tgz", + "integrity": "sha512-DdT/AHm/TbZXEhQKQpGt5/iSgBrmXpjU26FNtj1KhllVPTKj1eG4X/ShyD5W2fngE+I1s1wa4ttC4C3oCJt7Ag==" }, "node_modules/through": { "version": "2.3.8", @@ -7992,8 +7992,8 @@ "license": "LicenseRef-LICENSE", "dependencies": { "@esotericsoftware/spine-core": "^4.0.28", - "@types/three": "^0.138.0", - "three": "^0.138.3" + "@types/three": "^0.140.0", + "three": "^0.140.0" } }, "spine-webgl": { @@ -8025,8 +8025,8 @@ "version": "file:spine-threejs", "requires": { "@esotericsoftware/spine-core": "^4.0.28", - "@types/three": "^0.138.0", - "three": "^0.138.3" + "@types/three": "^0.140.0", + "three": "^0.140.0" } }, "@esotericsoftware/spine-webgl": { @@ -8042,9 +8042,9 @@ "dev": true }, "@types/three": { - "version": "0.138.0", - "resolved": "https://registry.npmjs.org/@types/three/-/three-0.138.0.tgz", - "integrity": "sha512-D8AoV7h2kbCfrv/DcebHOFh1WDwyus3HdooBkAwcBikXArdqnsQ38PQ85JCunnvun160oA9jz53GszF3zch3tg==" + "version": "0.140.0", + "resolved": "https://registry.npmjs.org/@types/three/-/three-0.140.0.tgz", + "integrity": "sha512-YPJLSIY6uKUOp1k6BZYDq5GtEIdhfeK04UCbc9IPAVbdn/RNjkfrbnyd7smrsNkJhc0IFASLpd3AAYgwqgXKVQ==" }, "accepts": { "version": "1.3.8", @@ -13963,9 +13963,9 @@ } }, "three": { - "version": "0.138.3", - "resolved": "https://registry.npmjs.org/three/-/three-0.138.3.tgz", - "integrity": "sha512-4t1cKC8gimNyJChJbaklg8W/qj3PpsLJUIFm5LIuAy/hVxxNm1ru2FGTSfbTSsuHmC/7ipsyuGKqrSAKLNtkzg==" + "version": "0.140.2", + "resolved": "https://registry.npmjs.org/three/-/three-0.140.2.tgz", + "integrity": "sha512-DdT/AHm/TbZXEhQKQpGt5/iSgBrmXpjU26FNtj1KhllVPTKj1eG4X/ShyD5W2fngE+I1s1wa4ttC4C3oCJt7Ag==" }, "through": { "version": "2.3.8", diff --git a/spine-ts/spine-threejs/example/index.html b/spine-ts/spine-threejs/example/index.html index f63dd8ac3..c929197da 100644 --- a/spine-ts/spine-threejs/example/index.html +++ b/spine-ts/spine-threejs/example/index.html @@ -3,7 +3,7 @@ spine-threejs - +