685 Commits

Author SHA1 Message Date
Harald Csaszar
8f01d089e4 [Unity] SkeletonRenderSeparator: Fixed Update When Invisible modes leading to invisible skeleton. Fixed Enable Separator property not triggering component dirty state/undo. Closes #1960. 2022-10-10 16:42:14 +02:00
Harald Csaszar
114852b15c [unity] Fixed SkeletonMecanim incorrect looping playback of reversed non-looping clip. Closes #2165. 2022-09-30 14:10:04 +02:00
Harald Csaszar
7e440c28ae [unity] Moved common Spine/Blend shader functionality to shared include files. Closes #1721. 2022-09-28 21:01:59 +02:00
Harald Csaszar
2b85114d54 [unity] Added Preferences parameter to disable console error when SkeletonDataAsset skeleton data file is none. Finishes code changes to allow copy protection systems. Closes #1794. 2022-09-28 18:46:31 +02:00
Harald Csaszar
4a0dabe4c3 [unity] Fixed SkeletonGraphic.SkeletonData vs .Skeleton.Data inconsistent behaviour, now both call Initialize(false). Closes #2161. 2022-09-27 17:03:59 +02:00
Harald Csaszar
d9935741c2 [unity] Using InteractionMode.AutomatedAction at prefab Revert() call in newer Unity versions. See #1273. 2022-09-09 15:27:10 +02:00
Harald Csaszar
e784103de9 [unity] Fixed Sprite pixel-lit shader incorrectly applying secondary lights. Closes #2147. 2022-09-06 17:25:54 +02:00
Harald Csaszar
a3e0ab37ed [unity] Added outline shader parameter Advanced - Opaque Alpha which can be used to exclude problematic semi-transparent areas. 2022-09-02 19:56:51 +02:00
Harald Csaszar
87e5a84cff [unity] Fixed SkeletonRootMotion 3D rigidbody rotational root-motion. Closes #2143. Added SkeletonRootMotion callback delegates ProcessRootMotionOverride and PhysicsUpdateRootMotionOverride to customize how root motion is applied. 2022-08-30 17:55:38 +02:00
Harald Csaszar
3d2484697a [unity] Fixed editor OutOfBoundsException at SkeletonGraphic when switching to skin with more vertices while preventing another exception (occurred after fix bd7f7eb1). Closes #2089. 2022-08-19 20:36:32 +02:00
Harald Csaszar
90c4569596 [unity] Updated license headers which were not yet up to date. 2022-08-18 11:58:51 +02:00
Harald Csaszar
1485bb4708 [unity] Minor cleanup: removed a leftover resolved fixxme line. 2022-08-03 19:16:50 +02:00
Harald Csaszar
6ef7df4be6 [unity] Added example component SkeletonGraphicRenderTexture. Closes #2130. Added additional render callback delegates at SkeletonGraphic. 2022-08-02 16:06:10 +02:00
Harald Csaszar
2b28510acd [unity] Fixed SkeletonGraphic shader flickering on low alpha vertex colors in Linear color space. Closes #2128. 2022-07-27 19:27:11 +02:00
Harald Csaszar
4f4d339c57 [unity] Fixed issues with image sequence import, including custom slot blend modes. Closes #2126, closes #2127. 2022-07-25 19:50:14 +02:00
Harald Csaszar
5bb43d31a5 [unity] Fixed TK2D sprite collection rotated region import. See #2113. 2022-07-20 11:02:04 +02:00
Harald Csaszar
b79316de81 [unity] Fixed skeleton import and Inspector behaviour of TK2D integration on 4.1. See #2113. 2022-07-18 13:16:14 +02:00
Harald Csaszar
1549cdea5c [unity] Fixed TK2D SpriteCollectionAttachmentLoader compile errors on 4.1. See #2113. 2022-07-14 19:24:37 +02:00
Harald Csaszar
696c723013 [Unity] Now really fixed SkeletonRootMotion out of bounds access when selecting non-default Root Motion Bone with a TransformConstraint. See #2110. 2022-07-13 20:34:17 +02:00
Harald Csaszar
2ef38e4f01 [Unity] Fixed SkeletonRootMotion out of bounds access when selecting non-default Root Motion Bone with a TransformConstraint. Closes #2110. 2022-07-13 12:19:21 +02:00
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