151 Commits

Author SHA1 Message Date
Harald Csaszar
689daa147a [unity] Minor: example script documentation improved (CustomMaterialOverride). 2022-02-21 18:27:37 +01:00
Harald Csaszar
b1e81fc1b2 Merge branch '4.0' into 4.1-beta 2021-11-10 19:34:19 +01:00
Harald Csaszar
1517ffcde4 [unity] Renamed example script DataAssetsFromExportsExample to RuntimeLoadFromExportsExample and performed minor cleanup. 2021-11-10 11:03:23 +01:00
Harald Csaszar
a135288a7c Merge branch '4.0' into 4.1-beta 2021-11-03 20:06:47 +01:00
Harald Csaszar
c94cad7403 [unity] Minor: formatting fixes. 2021-11-03 20:03:49 +01:00
Harald Csaszar
e11dea1497 [unity] Minor refactoring: renamed a preprocessor constant. 2021-11-03 19:57:14 +01:00
Harald Csaszar
f2cf39cfb6 Merge branch '4.0' into 4.1-beta 2021-11-03 19:52:46 +01:00
Harald Csaszar
69460f3bd6 [unity] Fixed SkeletonRagdoll2D behaviour being wrong in Unity 2020.3+. Closes #1977. 2021-11-03 19:47:38 +01:00
Harald Csaszar
3250e74e26 [csharp][unity] Port sequence attachment. See #1956. Also port of other 4.1-beta branch changes compared to 4.0. 2021-11-03 15:26:22 +01:00
Harald Csaszar
4b70b1489c [unity] Fixed IAnimationStateComponent missing (destroyed) component exception due to interface null check instead of using overloaded UnityEngine.Object.operator==. Closes #1972.
IAnimationStateComponent throws exception due to interface null check #1972
2021-10-27 18:06:37 +02:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Harald Csaszar
8770e319c5 [unity] Fixed compile errors introduced by removed FindSlotIndex and FindBoneIndex methods. See commit dc9a6eb, see #1951. 2021-09-13 17:04:23 +02:00
Mario Zechner
6a93555805 Remove BOMs 2021-08-18 20:51:17 +02:00
Mario Zechner
d12b15ca8d [csharp] Format all source code using formatters/.editorconfig 2021-08-18 18:59:53 +02:00
Harald Csaszar
577f280258 [csharp] Minor cleanup: Removed empty file CustomSkin.cs, changed comments to not make formatter indent blocks in undesired way. 2021-08-18 16:42:51 +02:00
Harald Csaszar
dbec33e556 [unity] Minor cleanup: removed two comments mentioning methods that no longer exist after 4.0 API cleanup. 2021-06-14 18:57:38 +02:00
Harald Csaszar
68b862c4d8 [unity] Minor: Updated documentation and example scene scripts regarding GetRepackedSkin, GetRepackedAttachments and GetRemappedClone to describe texture cache and cleanup. 2021-05-17 20:52:19 +02:00
Harald Csaszar
204f8672ed Merge branch '3.8' into 4.0-beta 2021-04-21 20:33:49 +02:00
Harald Csaszar
d146a81d21 [unity] SkeletonRagdoll components now support bone scale at any bone in the skeleton hierarchy, including negative scale and root bone scale. Closes #1879. 2021-04-20 18:18:20 +02:00
Harald Csaszar
692eed3a75 [unity] Root motion delta compensation now allows to add translation root motion to e.g. adjust a horizontal jump upwards or downwards. Fixed delta compensation to also respect any Skeleton-, Transform- or parent Bone scale. See #1876. 2021-04-14 17:56:59 +02:00
Harald Csaszar
dd7c3b1bcc [unity] Root motion delta compensation now allows to only adjust X or Y components instead of both. See #1876. 2021-04-12 17:31:00 +02:00
badlogic
01902e2393 Merge branch '3.8' into 4.0-beta 2021-04-06 19:05:52 +02:00
Harald Csaszar
97b3f3058b [unity] Added RootMotionDeltaCompensation example component demonstrating simple root motion delta compensation. See #1873. 2021-04-06 17:44:50 +02:00
Harald Csaszar
df9776addf Merge branch '3.8' into 4.0-beta 2021-01-29 13:10:53 +01:00
Harald Csaszar
48470a4b16 [unity] Fixed two minor reported issues (could not be reproduced by user). Now officially supporting Unity versions 2020.1 and 2020.2 with this commit. Closes #1835. 2021-01-29 13:07:22 +01:00
Harald Csaszar
dbb10f36f6 Merge branch '3.8' into 4.0-beta 2021-01-21 14:54:00 +01:00
Harald Csaszar
60b52cb36a [unity] Fixed SkeletonRagdoll and SkeletonRagdoll2D behaving incorrectly when any Transforms are scaled. Closes #1831. 2021-01-19 18:14:52 +01:00
Harald Csaszar
bf4df3b5f3 Merge branch '3.8' into 4.0-beta 2020-11-16 21:31:57 +01:00
Harald Csaszar
7ef2fc96db [csharp] Porting of commits dbd90ca, da1b280, 10d5a91 and e14db0e (includes 4.0 format changes). Fixed errors in color parsing introduced by previous porting 4.0 commit.
* Added separate X and Y for transform constraint translate and scale mix.
* Renamed `xxxMix` to `mixXxx` to avoid names like `scaleXMix`.
* Added separate X and Y sliders for path constraint translate mix.
* Added a proportional spacing mode to path constraints.
* Fixed path constraint when a parent bone of the path is scaled.
2020-11-16 21:01:11 +01:00
Harald Csaszar
f1af1d5bf1 [unity] GetRemappedClone() method now provides an additional parameter pivotShiftsMeshUVCoords for MeshAttachments to prevent uv shifts at a non-central Sprite pivot. Closes #1809. 2020-11-13 19:12:05 +01:00
Harald Csaszar
407c591a2c [csharp] Ported commits 549e9ae and 6e709a1, (format changes for 4.0.24-beta) "Added separate keying for translateX/Y, scaleX/Y, shearX/Y, and colorRGB/A.". Updated example skeletons. 2020-11-12 19:34:21 +01:00
badlogic
ee3f088e6c Merge branch '3.8' into 4.0-beta 2020-10-23 11:26:34 +02:00
Harald Csaszar
d2529d410b [csharp] Porting of major 4.0-beta runtime changes. Remaining Unity assets will be updated in separate commit. See #1796. 2020-10-22 14:44:13 +02:00
Harald Csaszar
977133fc38 [unity] Fixed warnings/messages reported by Microsoft's Analyzers for Unity. Closes #1753. 2020-10-06 16:16:49 +02:00
Harald Csaszar
c16cfdd158 [unity] Fix of compile error (occurring in Unity 2019) introduced by commit 899a109. See #1628. 2020-09-30 17:04:42 +02:00
Harald Csaszar
899a109a13 [unity] Added an example scene "Mix and Match Skins" demmonstrating a character customization wardrobe system using the new Skins API, using the mix-and-match ("Spine dudes") asset. See #1628. 2020-09-30 16:57:20 +02:00
badlogic
3bdd39a409 Merge branch '3.8' into 3.9-beta 2020-06-03 13:17:58 +02:00
Harald Csaszar
bc559625f2 [unity] SkeletonGraphic now supports multiple atlas textures via additional CanvasRenderer GameObjects. Closes #1592. SkeletonGraphic now also supports SkeletonRenderSeparator functionality. Closes #1254. See SkeletonRenderSeparator.unity scene for a usage example. 2020-05-25 20:22:04 +02:00
Harald Csaszar
69f78b03e1 Merge branch '3.8' into 3.9-beta 2020-05-20 16:48:55 +02:00
Harald Csaszar
6a9403511d [unity] Added documentation section to GetRepackedSkin methods mentioning the requirement for Destroy() call on output textures and materials. Added to example scene component code as well. Closes #1681. 2020-05-18 17:21:58 +02:00
Harald Csaszar
3e93e2daf1 [unity] Fixed ghost-movement of Ragdoll components: They did not update the RagdollParent transform. Activate correct behaviour by disabling the inspector property Old Ragdoll Behaviour which was introduced to automatically be backwards-compatible. Closes #1670. 2020-05-07 15:10:20 +02:00
Nathan Sweet
79d2dbfa5f Merge branch '3.8' into 3.9-beta 2020-05-05 15:34:13 +02:00
Harald Csaszar
22c5144bde [unity] Fixed a build error (build to platform only) in 'Spine Examples' after package.json structures and asmdef files have been added. 2020-04-29 20:27:38 +02:00
Harald Csaszar
37d569414d [csharp] Minor cleanup: removed unused variable, added null tests to legacy SpriteAttacher class. 2020-04-29 16:08:29 +02:00
Harald Csaszar
4ef9af5b99 Merge branch '3.8' into 3.9-beta 2020-03-27 20:03:11 +01:00
Harald Csaszar
f75adfaca8 [unity] Improved Editor behaviour of RenderExistingMesh component. Removed unnecessary SkeletonGraphic codeparts from it. 2020-03-27 19:29:52 +01:00
Harald Csaszar
519b01ee51 [unity] Added OnMeshAndMaterialsUpdated callback event to SkeletonRenderer and SkeletonGraphic. Added example component RenderExistingMesh.cs to render a mesh again with different materials, as required by the new outline-only shaders added in the previous commit. 2020-03-27 17:54:36 +01:00
Harald Csaszar
4a2019a723 Merge branch '3.8' into 3.9-beta 2020-03-11 20:09:09 +01:00
Harald Csaszar
016f438d59 [unity] SkeletonGraphic now fully supports SkeletonUtility for generating a hierarchy of SkeletonUtilityBones. Closes #1637. 2020-03-11 20:07:25 +01:00
Harald Csaszar
d67b3a9ccb Merge branch '3.8' into 3.9-beta 2020-03-10 12:43:49 +01:00