123 Commits

Author SHA1 Message Date
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
Harald Csaszar
daa2a76b3a [unity] Fixed Getting Started/4 Object Oriented Sample to no longer use Spineboy-unity asset but Spineboy-pro instead (which is included as a complete Spine example project on the editor side). See #1628. 2020-03-10 12:41:51 +01:00
Harald Csaszar
81a192debe Merge branch '3.8' into 3.9-beta 2020-03-02 17:06:02 +01:00
Harald Csaszar
216193e4b3 [unity] Fixed SkeletonUtilityEyeConstraint wrong offset when disabled and re-enabled. Closes #1632. 2020-03-02 17:05:17 +01:00
Harald Csaszar
66da4e4282 Merge branch '3.8' into 3.9-beta 2020-01-24 13:59:33 +01:00
Harald Csaszar
d252df7ece [unity] Fixed some compiler warnings when building for platforms instead of editor. Closes #1604. 2020-01-24 13:55:45 +01:00
Harald Csaszar
9213141312 Merge branch '3.8' into 3.9-beta 2020-01-13 18:03:00 +01:00
Harald Csaszar
ce61d429fd [unity] Fixed SkeletonAnimationMulti sample component showing wrong first frame after switching skeletons. Closes #1598. 2020-01-13 18:02:35 +01:00
badlogic
934bec56b7 Merge branch '3.8' into 3.9-beta 2019-12-20 12:27:35 +01:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
Harald Csaszar
01c252689d [unity] Fixed Spine shader stencil parameters being hidden/shown inconsistently. Now there is a unified stencil foldout section, hiding complexity by default. Closes #1570. 2019-12-12 15:55:11 +01:00
Harald Csaszar
c59b2676bb [unity] Fixed Spine shader stencil parameters being hidden/shown inconsistently. Now there is a unified stencil foldout section, hiding complexity by default. Closes #1570. 2019-12-12 15:54:16 +01:00
Harald Csaszar
f2a8c9a3c1 [unity][csharp] API Cleanup: removed many redundant extension methods that are now obsolete with Skin and Attachment API of 3.8. Closes #1557. Fixed an error in Skin where Skin.setAttachment() did not work as expected (See #1485). C# implementation is different to ref-impl here as struct keys do not allow for changing key.Attachment later without removing and readding the entry to the dictionary. 2019-11-29 12:31:39 +01:00
Harald Csaszar
b3e29c4338 [unity] Added Outline Shaders example scene to demonstrate switching to outline materials. See #1531. 2019-11-27 13:49:00 +01:00
Harald Csaszar
847ec12e3d [unity] Added Outline Shaders example scene to demonstrate switching to outline materials. See #1531. 2019-11-27 13:47:51 +01:00
Harald Csaszar
10ac204b1f [unity] Updated Hero skeleton assets to new combined one with sword and morning star skins. Added example scene "SkeletonUtility Platformer HingeChain Physics" for demonstration of hinge chain physics. 2019-11-20 14:34:31 +01:00
Harald Csaszar
572560d313 [unity] Updated Hero skeleton assets to new combined one with sword and morning star skins. Added example scene "SkeletonUtility Platformer HingeChain Physics" for demonstration of hinge chain physics. 2019-11-20 14:33:35 +01:00
Harald Csaszar
59fe662bc2 [unity] Fixed SkeletonRagdoll2D incorrect limit angles in Unity 2019.2+. Closes #1521. 2019-10-14 19:14:21 +02:00
Harald Csaszar
241846c16c [unity] Fixed SkeletonRagdoll2D incorrect limit angles in Unity 2019.2+. Closes #1521. 2019-10-14 19:11:52 +02:00
Harald Csaszar
617eb38340 [unity] Fixed more fragment shader output declarations (from COLOR to SV_Target), fixes ps4 shader compile error. Related to commit e229dab. See #1374. 2019-09-03 20:06:10 +02:00
Harald Csaszar
6b84079a08 [unity] Fixed more fragment shader output declarations (from COLOR to SV_Target), fixes ps4 shader compile error. Related to commit e229dab. See #1374. 2019-09-03 20:03:26 +02:00
NathanSweet
45362e60bf [all] Source clean up, formatting, and tabs for indentation. 2019-08-28 17:36:51 +02:00
NathanSweet
842dffbd83 [all] Source clean up, formatting, and tabs for indentation. 2019-08-27 15:57:14 +02:00
Harald Csaszar
7f81f6debf [unity] Minor changes: Spine Examples cleanup, removed a misleading unused component in Freezeboy example. 2019-08-23 15:25:25 +02:00
Harald Csaszar
47033fa10a [unity] Minor changes: Spine Examples cleanup, removed a misleading unused component in Freezeboy example. 2019-08-23 15:23:51 +02:00
Harald Csaszar
a2393e8a12 [unity] Fixed code where a default skin was assumed to exist (which is no longer the case). Fixes an error at SkeletonDataAsset inspector -> show slots -> show attachments. Closes #1453. 2019-08-19 11:53:29 +02:00
Harald Csaszar
ae4790b85c [unity] Fixed code where a default skin was assumed to exist (which is no longer the case). Fixes an error at SkeletonDataAsset inspector -> show slots -> show attachments. Closes #1453. 2019-08-19 11:48:16 +02:00
Harald Csaszar
d8808fb8ce [unity] Moved Timeline module to a separate Package com.esotericsoftware.spine.timeline. Activated asmdef files by default again in spine-unity, added asmdef files to timeline package. Fixed compile errors when asmdef files are active. Cleanup of no longer necessary asmdef file modifying code. 2019-07-18 14:38:04 +02:00
Harald Csaszar
f5f77ef481 [unity] Changed namespace Spine.Unity.Modules to Spine.Unity and Spine.Unity.Examples after restructuring. See previous commits 59746cc and 64a6ae4. 2019-07-16 22:17:02 +02:00