555 Commits

Author SHA1 Message Date
Harald Csaszar
1fa6c2edbb [unity] Added support for Tint Black at all Spine URP shaders (2D and 3D) and at Spine/Sprite shaders. Closes #1705. 2023-05-31 12:05:43 +02:00
Harald Csaszar
72e4c2915f [unity] Fixed NullReferenceException when SkeletonGraphic SkeletonDataAsset is null. Closes #2294. 2023-05-26 12:20:46 +02:00
Harald Csaszar
7883f0fafd [unity] Fixed NullReferenceException upon SkeletonGraphic drag&drop instantiation. Closes #2292. 2023-05-16 14:06:31 +02:00
Harald Csaszar
92440912d2 [unity] Fixed RootMotion components with Rigidbody in parent not supporting position offset. Closes #2284. 2023-05-02 16:40:22 +02:00
Harald Csaszar
245ff29b26 [unity] Minor: whitespace fix to please automatic checks. 2023-04-13 18:14:37 +02:00
Harald Csaszar
a09ec88b16 [unity] Fixed compile error on old Unity version 2017.1, introduced by commit 7d0833f. See #2275. 2023-04-13 18:08:09 +02:00
Harald Csaszar
92728548b7 [unity] Minor: refactoring, variable renamed. 2023-04-13 17:59:25 +02:00
Harald Csaszar
7d0833f881 [unity] Fixed SkeletonGraphic exception when Attachment changed after SkeletonGraphic.LateUpdate. Closes #2275. 2023-04-13 17:59:25 +02:00
Harald Csaszar
78302ac1d8 [unity] Corrected behaviour of SkeletonGraphic edit reference rect when entering/exiting play mode. See #1640. 2023-03-27 17:42:32 +02:00
Harald Csaszar
25b8310bea [unity] Fixed a compile error on Unity 2017.1 introduced by previous commit 91cc6dd. See #1640. 2023-03-24 15:00:26 +01:00
Harald Csaszar
e7457546b0 [unity] Minor: whitespace correction of previous commit. 2023-03-24 14:51:24 +01:00
Harald Csaszar
91cc6ddfaa [unity] SkeletonGraphic now supports automatic scaling based on RectTransform bounds. Closes #1640. 2023-03-24 14:44:40 +01:00
Mario Zechner
7f4f32453b [csharp] Fix formatting. 2023-01-16 14:49:12 +01:00
Harald Csaszar
07b54ee18e [unity] Build compile error after commit 01b8c06 due to unguarded using UnityEditor.namespace. Closes #2222. 2023-01-11 11:48:10 +01:00
Harald Csaszar
01b8c06800 [csharp] Code cleanup: replaced var with explicit type names. 2023-01-10 13:03:56 +01:00
Harald Csaszar
1552fc843a [unity] Fixed blend mode shaders being broken on Unity 2017. Closes #2212. 2022-12-13 18:44:17 +01:00
Harald Csaszar
8fb3876396 [unity] Added warning message when 'CanvasGroup Compatible' is enabled at the Material but 'Canvas Group Tint Black' is disabled at SkeletonGraphic. 2022-11-16 12:24:32 +01:00
Harald Csaszar
bb851ee489 [unity] Fixed incorrectly repacked MeshAttachment regions when rotated 270 degrees. Closes #2181. 2022-11-03 16:08:08 +01:00
Harald Csaszar
4e5fed4251 [unity] Added default material for Spine/SkeletonGraphic Fill shader added in previous commit 0a6a696. 2022-11-02 14:21:56 +01:00
Harald Csaszar
0a6a6962c7 [unity] Added Spine/SkeletonGraphic Fill shader to provide functionality of Spine/Skeleton Fill shader for SkeletonGraphic. 2022-10-31 10:21:02 +01:00
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