515 Commits

Author SHA1 Message Date
Harald Csaszar
766105189f [unity] Fixed Sprite.ToAtlasRegion and SpriteAttacher example script ignoring pivot in 4.1. Closes #2109. Issue was introduced in commit 9ecf28b, see #1884. 2022-07-12 14:51:59 +02:00
Harald Csaszar
cf654d3768 [unity] Minor cleanup. 2022-06-01 16:58:11 +02:00
Harald Csaszar
bd7f7eb181 [unity] Fixed Editor OutOfBoundsException at SkeletonGraphic when switching to skin with more vertices. Closes #2089. 2022-05-31 19:31:58 +02:00
Harald Csaszar
fa9e033adb [unity] Fixed a compile error on older Unity (mono) versions introduced in commit 9427732. 2022-05-31 18:48:19 +02:00
Harald Csaszar
c0901ba302 [unity] Added OnAnimationRebuild callback delegate to skeleton components, called after animation state has been initialized. Breaking: SkeletonGraphic.OnRebuild is now called after skeleton is initialized, but before initializing animation state. 2022-05-31 18:37:30 +02:00
Harald Csaszar
9427732038 [unity] Added UnscaledTime property at SkeletonAnimation, behaving like SkeletonGraphic.UnscaledTime. 2022-05-30 20:58:25 +02:00
Harald Csaszar
ee8f73350a Merge branch '4.0' into 4.1-beta 2022-05-18 15:21:34 +02:00
Harald Csaszar
9882fe1da3 [unity] Fixed straight blend mode material templates which were setup as PMA. Closes #2084. 2022-05-18 15:11:17 +02:00
Harald Csaszar
b9606f0074 Merge branch '4.0' into 4.1-beta 2022-05-16 19:48:13 +02:00
Harald Csaszar
4f5bc00d66 [unity] Added missing null checks in SkeletonRendererCustomMaterials. Closes #2081. 2022-05-16 19:43:24 +02:00
Harald Csaszar
f04a7b38ca [unity] Fixed exception after changing animation name with existing custom mix duration, closes #1874. Displaying animation/bone/etc name in red in Inspector fields when it no longer exists at the skeleton data. 2022-04-27 20:49:40 +02:00
Harald Csaszar
688407fd57 [unity] GetRemappedClone copying from Sprite now provides additional pmaCloneTextureFormat and pmaCloneMipmaps parameters. 2022-04-25 16:35:23 +02:00
badlogic
83df6b7316 Merge branch '4.0' into 4.1-beta 2022-04-21 14:05:53 +02:00
Harald Csaszar
70277b8f04 [unity] Fixed incorrect reloading behaviour (especially of deform timeline) at Domain Reload. (Fix of previous commit 0820bd7). Closes #2066. 2022-04-13 20:41:58 +02:00
Harald Csaszar
156ef80a9c [unity] Setting SkeletonGraphic CanvasRenderer.cullTransparentMesh to false at new instances to avoid Add blend mode problems. 2022-04-08 11:18:50 +02:00
Harald Csaszar
c5df7b7bdb [unity] Fixed SkeletonGraphic unnecessary redundant mesh update at color change. Changed update code to use SetVerticesDirty and Rebuild. Closes #2049. 2022-03-25 15:19:52 +01:00
Mario Zechner
78e8f637bb Merge branch '4.0' into 4.1-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2022-03-21 19:32:37 +01:00
Harald Csaszar
ec53964603 [unity] Hopefully fixed some occurrances of a build crash when building many prefabs and textures. See #2047. 2022-03-18 15:44:34 +01:00
Harald Csaszar
f7aaa25ee1 [unity] Optimized RootMotion components behaviour when using FixedUpdate timing at SkeletonAnimation, avoiding unnecessary calls. See #2046. 2022-03-18 11:37:25 +01:00
Harald Csaszar
322d042309 [unity] RootMotion component: minor addition of last commit, avoiding unnecessary update. 2022-03-17 17:50:24 +01:00
Harald Csaszar
69b2a5ce13 [unity] Fixed RootMotion components temp movement not being completely cleared when using FixedUpdate. Closes #2046. 2022-03-17 17:44:29 +01:00
Harald Csaszar
935cb3b491 Merge branch '4.0' into 4.1-beta 2022-03-07 18:10:46 +01:00
Harald Csaszar
5ff19ea31c [unity] Added meta file of add spine-csharp here.txt to prevent an error message when using Unity Package Manager and git URL. 2022-03-07 17:57:18 +01:00
Harald Csaszar
b2c45b7fde Merge branch '4.0' into 4.1-beta 2022-03-01 12:27:56 +01:00
Harald Csaszar
b7f4bbc5e3 [unity] Added missing added changes of previous commit 6a3fb6a. 2022-03-01 11:32:41 +01:00
Harald Csaszar
6a3fb6a42a [unity] Added warnings when Spine Preferences - Texture Atlas Settings PMA and blend mode materials PMA do not match. Added straight alpha blend modes material templates. 2022-02-28 16:14:44 +01:00
Harald Csaszar
3688bdb25e [unity] SkeletonRootMotion components now support rotation root motion. 2022-02-23 20:49:15 +01:00
Harald Csaszar
3289550eb0 [unity] Added skeleton component Inspector parameter Advanced - Animation Update with modes In Update, In FixedUpdate and Manual Update. Added SkeletonRootMotion properties PreviousRigidbodyRootMotion and AdditionalRigidbody2DMovement. 2022-02-09 12:22:02 +01:00
Harald Csaszar
9c0c1ce176 [unity] Minor: removed unnecessary else statement. 2022-01-20 11:44:42 +01:00
Harald Csaszar
40f5e2723d [unity] Fixed BoneFollower components change Transform scale regardless of settings. Closes #2018. 2022-01-13 12:24:26 +01:00
Harald Csaszar
1cc2a57be5 Merge branch '4.0' into 4.1-beta 2022-01-10 18:28:36 +01:00
Harald Csaszar
1233bce55e [unity] Support fix prefab override via mesh filter global settings. Closes #1938. 2022-01-10 18:21:55 +01:00
Harald Csaszar
cd1a55b0af Merge branch '4.0' into 4.1-beta 2021-12-21 13:38:47 +01:00
Harald Csaszar
7400da8896 [unity] Fixed BoundingBoxFollowerGraphic vertices being 0.0 in some occasions, closes #1999. Problem introduced in commit 506a1ab, see issue #1990. 2021-12-21 13:07:48 +01:00
Harald Csaszar
eb9702b1b1 [unity] minor: format check fix, different auto-formatting due to preprocessor #if. 2021-12-15 19:52:20 +01:00
Harald Csaszar
5a1a19b4e5 [unity] SpineAtlasAsset.CreateRuntimeInstance methods now provide an optional newCustomTextureLoader parameter. 2021-12-15 19:44:10 +01:00
Harald Csaszar
2d86973980 Merge branch '4.0' into 4.1-beta 2021-12-15 16:55:15 +01:00
Harald Csaszar
193882f2c6 [unity] BoneFollower and BoneFollowerGraphic now provide an additional Follow Parent World Scale parameter. 2021-12-15 16:52:14 +01:00
Mario Zechner
ced0771c37 [ts] Merge fix for #2003, fix ping pong reverse in Sequencetimeline
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-core/src/Slot.ts
#	spine-ts/spine-core/src/attachments/MeshAttachment.ts
#	spine-ts/spine-core/src/attachments/RegionAttachment.ts
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2021-12-15 15:09:03 +01:00
Harald Csaszar
0e2fe5c6c9 [unity] Minor: documentation improvement of SpineAtlasAsset.CreateRuntimeInstance method description. 2021-12-13 17:24:10 +01:00
Harald Csaszar
473862c67e Merge branch '4.0' into 4.1-beta 2021-12-10 16:06:37 +01:00
Harald Csaszar
4b42f23fc4 [unity] Fixed incorrect rendering of OutlineOnly shader in URP with HDR option enabled. Closes #2001. 2021-12-10 16:04:08 +01:00
Harald Csaszar
6bf8de327c Merge branch '4.0' into 4.1-beta 2021-12-09 18:58:11 +01:00
Harald Csaszar
3025b370f5 [Unity] Fixed MaterialChecks to correctly check for Sprite material settings. Closes pull request #2000. 2021-12-09 18:56:26 +01:00
Harald Csaszar
9ecf28b253 [Unity] Fixed Sprite Mesh Type 'Tight' causing issues when used to replace attachments (GetRemappedClone, ToAtlasRegion). Closes #1884. Closes pull request #1994. 2021-12-09 18:34:24 +01:00
Harald Csaszar
7e765c1b5b [unity] Fixed root motion components ignoring split translate timelines. Closes #1997. 2021-12-07 20:30:52 +01:00
Harald Csaszar
bb7804ac9e [unity] Fixed root motion components ignoring split translate timelines. Closes #1997. 2021-12-07 19:16:28 +01:00
Harald Csaszar
ac73dc5857 Merge branch '4.0' into 4.1-beta 2021-11-24 15:39:48 +01:00
Harald Csaszar
9dfd69e49d [unity] Fixed json files starting with array brackets not being detected as json. Closes #1992. 2021-11-24 15:00:13 +01:00
Harald Csaszar
4ad9c4fa24 [unity] minor formatting: changes to please format checks. 2021-11-16 18:08:54 +01:00