1868 Commits

Author SHA1 Message Date
Harald Csaszar
82a0de85bc [unity] Fixed SkeletonGraphic with multiple materials displaying white square and issuing error when number of renderers changes in SkeletonGraphic.Rebuild. Closes #1826. 2021-01-08 17:59:18 +01:00
Harald Csaszar
e95e130e9b [unity] Changed implementation of previous bugfix commit ab91a35 of Editor error messages upon startup. Uses less code and executes a bit earlier. See #1779. 2021-01-07 20:52:14 +01:00
Harald Csaszar
ab91a3539d [unity] Fixed Editor error messages upon startup, most likely due to AssetDatabase not being fully initialized (Unity 2020.2). Closes #1779. 2021-01-07 20:25:01 +01:00
Harald Csaszar
a7f629f504 [unity] Fixed BoneFollowerGraphic silently failing at Transform instead of RectTransform by requiring component RectTransform. Closes #1828. 2021-01-07 16:20:19 +01:00
Harald Csaszar
bbae2d9ed4 Merge branch '3.8' into 4.0-beta 2020-12-22 17:21:32 +01:00
Harald Csaszar
769f048f55 [unity] Added a null-check for _diffuseRamp parameter at Sprite shaders GUI. Cleaned up URP 2D example assets: textures and materials now all using straight alpha textures, names shortened. 2020-12-22 17:17:33 +01:00
Harald Csaszar
1a431045c6 [unity] Fixed new atlas format import after atlas format changes (see commit f8d6359). Replaced hardcoded first pass of dual-pass atlas loading with proper Atlas method calls. 2020-12-21 19:16:09 +01:00
Nathan Sweet
f8d6359b32 [csharp][unity] Updated TextureAtlas parsing for latest format. 2020-12-20 15:26:05 -08:00
Harald Csaszar
3d3f019817 [unity] Changed default Sprite shader ramp mode from Old Hard to Hard for 4.0 and newer. This will affect newly created materials only. See commit 2fde05e. 2020-12-09 19:22:13 +01:00
Harald Csaszar
90f7f909eb Merge branch '3.8' into 4.0-beta 2020-12-09 19:09:08 +01:00
Harald Csaszar
2fde05e899 [unity] Fixed URP and LWRP Sprite shader ramp only respecting main directional light, see #1819. Addition: All Sprite shaders now provide four Diffuse Ramp modes as an Inspector Material parameter: Hard, Soft, Old Hard and Old Soft. 2020-12-09 19:01:03 +01:00
Harald Csaszar
473caafd00 [unity] Fixed SRP batching support at Sprite shader of URP and LWRP shaders, with enabled rim light they were not compatible. See #1813. 2020-12-09 13:39:24 +01:00
badlogic
279fb3fca9 Merge branch '3.8' into 4.0-beta 2020-12-05 10:06:38 +01:00
Harald Csaszar
16b95b971b [unity] Now all URP and LWRP shaders support SRP batching. Closes #1813. 2020-12-02 20:23:31 +01:00
Harald Csaszar
eb3d56c9e8 [unity] Fixed Atlas asset assignment upon import which did not prioritize an atlas of the same name as the skeleton. Closes #1818. 2020-12-01 16:20:12 +01:00
Harald Csaszar
f365815127 [unity] Fixed preferences constantly loading in Unity 2020.1+ when not at default location. Closes #1817. 2020-11-30 20:05:27 +01:00
badlogic
ae6eda01f7 Merge branch '3.8' into 4.0-beta
# Conflicts:
#	spine-ts/build/spine-all.js.map
#	spine-ts/build/spine-canvas.js.map
#	spine-ts/build/spine-core.js.map
#	spine-ts/build/spine-player.js.map
#	spine-ts/build/spine-threejs.js.map
#	spine-ts/build/spine-webgl.js.map
#	spine-ts/canvas/example/assets/spineboy-ess.json
#	spine-ts/canvas/example/assets/spineboy.png
#	spine-ts/player/example/assets/raptor-pma.png
#	spine-ts/player/example/assets/raptor-pro.json
#	spine-ts/player/example/assets/spineboy-pma.png
#	spine-ts/player/example/assets/spineboy-pro.skel
#	spine-ts/threejs/example/assets/raptor-pro.json
#	spine-ts/threejs/example/assets/raptor.png
#	spine-ts/webgl/example/assets/coin-pro.skel
#	spine-ts/webgl/example/assets/goblins-pro.skel
#	spine-ts/webgl/example/assets/mix-and-match-pma.atlas
#	spine-ts/webgl/example/assets/mix-and-match-pma.png
#	spine-ts/webgl/example/assets/mix-and-match-pro.skel
#	spine-ts/webgl/example/assets/owl-pma.png
#	spine-ts/webgl/example/assets/owl-pro.skel
#	spine-ts/webgl/example/assets/raptor-pma.png
#	spine-ts/webgl/example/assets/raptor-pro.skel
#	spine-ts/webgl/example/assets/spineboy-pma.png
#	spine-ts/webgl/example/assets/spineboy-pro.skel
#	spine-ts/webgl/example/assets/spineboy.png
#	spine-ts/webgl/example/assets/stretchyman-pro.skel
#	spine-ts/webgl/example/assets/tank-pma.atlas
#	spine-ts/webgl/example/assets/tank-pma.png
#	spine-ts/webgl/example/assets/tank-pro.skel
#	spine-ts/webgl/example/assets/vine-pro.skel
2020-11-27 18:47:44 +01:00
Harald Csaszar
3151c18b6c [unity] SkeletonRenderer components now provide an additional update mode Only Event Timelines at the Update When Invisible property. Added methods to AnimationState for proper behaviour during transitions. Closes #1815. 2020-11-27 14:03:41 +01:00
Harald Csaszar
23bce387af [unity] Added problematic component/material combination check for Canvas Group Tint Black when not using a SkeletonGraphic Tint Black shader. See #1812. 2020-11-24 20:14:03 +01:00
Harald Csaszar
1d59409bde Merge branch '3.8' into 4.0-beta 2020-11-24 18:02:22 +01:00
Harald Csaszar
068a624608 [unity] Fixed regression of SkeletonMecanim not handling negative values at a State's Speed property. Now both Speed and Multiplier are respected. Closes #1810. 2020-11-20 21:24:02 +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
6d83190946 [unity] Added null checks at BoundingBoxFollower classes to handle SkeletonData not being assigned. 2020-11-16 13:00:31 +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
8d0f341928 Merge branch '3.8' into 4.0-beta 2020-11-12 12:23:25 +01:00
Harald Csaszar
2243ec9e98 [unity] Corrected incorrect using statement (leading to a compile error under some conditions), related to previous commit 75b9321. Added BoundingBoxFollowerGraphic component. [..] See #1770. 2020-11-12 12:19:30 +01:00
Harald Csaszar
ceb3402627 [unity] Fixed compile error after merging commit 75b9321 to 4.0 branch. 2020-11-11 16:10:02 +01:00
Harald Csaszar
97cf4a9294 Merge branch '3.8' into 4.0-beta 2020-11-11 16:06:57 +01:00
Harald Csaszar
d0681d7929 [unity] Previous commit 75b9321 was missing two added files. Added BoundingBoxFollowerGraphic component. [..] See #1770. 2020-11-10 16:45:09 +01:00
Harald Csaszar
75b932173d [unity] Added BoundingBoxFollowerGraphic component. Added Inspector context menu functions Add all BoundingBoxFollower GameObjects for SkeletonRenderer and SkeletonGraphic. Closes #1770. 2020-11-10 16:37:48 +01:00
badlogic
81aee82c91 Merge branch '3.8' into 4.0-beta 2020-10-29 15:43:48 +01:00
Harald Csaszar
b62c531487 [unity] Now failing more gracefully when loading of binary skeleton data fails. Fixed memory leak when loading incompatible binary skeleton asset. Closes #1799. See #1497. 2020-10-28 19:33:13 +01:00
Harald Csaszar
88f403f5fc [unity] RectMask2D no longer ignored by SkeletonGraphic with Multiple CanvasRenderers option enabled. Fixes #1802. 2020-10-28 14:59:43 +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
Harald Csaszar
239de24002 [unity] Fixed compile error in LWRP shaders due to incorrect include path. Closes #1793. 2020-10-21 14:48:43 +02:00
Harald Csaszar
d4654588fb [unity] Fixed animation not playing first time entering play mode after compilation. Related to disabled Domain/Scene reload. See #1621. 2020-10-19 18:46:07 +02:00
Harald Csaszar
17e8373e47 [unity] Fixed SkeletonMecanim handling negative NormalizedTime incorrectly. Closes #1790. 2020-10-19 17:13:34 +02:00
Harald Csaszar
3a950cd33e [unity] Now SpineSettings.asset file can be placed anywhere in the Assets directory. Closes #1789. 2020-10-19 14:07:19 +02:00
Harald Csaszar
90486705f6 [unity] Now providing BeforeApply update callbacks at all skeleton animation components. Closes #1783. 2020-10-14 12:17:01 +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
c3bfac7edd [unity] Fixed a compile error on older .NET versions, introduced by last commit 75efe44. See #1765. 2020-10-07 20:33:51 +02:00
Harald Csaszar
75efe44fab [unity] Detecting and reporting more incorrect shader/component configurations via Inspector warning boxes and log output. Closes #1765. 2020-10-07 20:23:52 +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
9bfe314aeb [unity] Fixed false warning issued on URP 2D shaders. Closes #1767. 2020-09-30 19:57:02 +02:00