139 Commits

Author SHA1 Message Date
Harald Csaszar
662c00d547 [unity] Minor cleanup of example scene description, removal of unnecessary lines. 2022-05-16 16:59:49 +02:00
Harald Csaszar
1121112c1d [unity] Minor: Removed leftover .meta file. 2022-04-06 12:41:46 +02:00
Harald Csaszar
9cd38191fc [unity] Added example component SkeletonRenderTextureFadeout and improved example scene and documentation. See #1337. 2022-03-10 17:00:26 +01:00
Harald Csaszar
b8da2fa27b [unity] Previous commit did not compile on Unity 2017.1 and earlier, fixed. See #1337. 2022-03-02 22:46:03 +01:00
Harald Csaszar
5e8e4c21f1 [unity] Previous commit did not compile on Unity 2019.2 and earlier, fixed. See #1337. 2022-03-02 22:35:11 +01:00
Harald Csaszar
9acc768353 [unity] Added example component SkeletonRenderTexture to render to a render texture. Added fadeout example scene named 'RenderTexture FadeOut Transparency'. Closes #1337. 2022-03-02 22:15:13 +01:00
Harald Csaszar
689daa147a [unity] Minor: example script documentation improved (CustomMaterialOverride). 2022-02-21 18:27:37 +01:00
Harald Csaszar
ceade3f804 [unity] Minor: unified TextureType of all example skeleton atlas textures to Default. Some were set to Sprite (2D and UI) which caused confusion. 2021-12-16 11:22:32 +01:00
Harald Csaszar
fe635d9a79 [unity] Minor cosmetic: updated GameObject name in example scene according to changed example script name in commit 1517ffcd. 2021-11-11 17:33:03 +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
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
69460f3bd6 [unity] Fixed SkeletonRagdoll2D behaviour being wrong in Unity 2020.3+. Closes #1977. 2021-11-03 19:47:38 +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
Harald Csaszar
91f7969cdc [csharp][unity] Adjusted spine-csharp and dependent modules to being used as separate UPM packages. See #1676. 2021-09-14 17:12:50 +02:00
Mario Zechner
67c0d39eab [runtimes] Fixed owl example project, export and runtime scripts
The owl example project was not keying the control bone, leading to incorrect additive blending. The export.sh and runtimes.sh script in example/export did not account for the folder structure change in spine-ts.
2021-09-14 00:02:04 +02: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
d316e30a5c [unity] Fixed missing Blend Modes example scene assets (SkeletonGraphic blend mode materials). 2021-08-13 17:53:19 +02:00
Nathan Sweet
7d6cdcd9d8 Applied oxipng. 2021-08-04 18:44:16 -04:00
Harald Csaszar
60e67017e6 [unity] Added SkeletonGraphic blend modes support including new shaders and materials (Advanced - Multiple CanvasRenderers must be enabled). Closes #1316. 2021-07-27 17:03:40 +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
b5a7601a41 [unity] Fixed atlas asset problems after re-export with latest 4.0 Spine Editor beta version. 2021-03-02 15:57:28 +01:00
badlogic
688d855006 [runtimes] Updated examples with Editor version 4.0.58-beta. 2021-03-01 10:05:26 +01: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
1f76074e62 [unity] Added hint about RectTransform bounds to "Skeleton Graphic" example scene to prevent problems. 2021-01-18 18:31:07 +01:00
Harald Csaszar
bf4df3b5f3 Merge branch '3.8' into 4.0-beta 2020-11-16 21:31:57 +01:00
Harald Csaszar
d62b68097e [unity] Updated example skeletons for 4.0.27+ format changes of previous csharp commit 7ef2fc9. 2020-11-16 21:23:55 +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
Harald Csaszar
7add768527 [unity] Updated mix-and-match example skeleton to 4.0 format (merged from 3.8 branch). 2020-10-23 11:48:03 +02:00
badlogic
ee3f088e6c Merge branch '3.8' into 4.0-beta 2020-10-23 11:26:34 +02:00
Harald Csaszar
b58c129e85 [unity] Updated remaining assets for major 4.0-beta runtime changes. See #1796. 2020-10-22 18:24:56 +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
Nathan Sweet
98a6c8f696 Exported examples with export.sh 4.0.05-beta and ran runtimes.sh. 2020-10-10 16:22:40 -07: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
4ed4b87195 [unity] Added info text to "Mix and Match Equip" example scene that there is now a "Mix and Match Skins" example scene showing the new skin API. See #1628. 2020-09-30 17:17:16 +02:00