1501 Commits

Author SHA1 Message Date
Harald Csaszar
12897260d7 [unity] Fixed GetRepackedSkin() ignoring mipmaps argument. Closes #1582. 2019-12-23 17:34:37 +01:00
badlogic
934bec56b7 Merge branch '3.8' into 3.9-beta 2019-12-20 12:27:35 +01:00
badlogic
89d9474e40 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2019-12-20 12:23:21 +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
d18f64c734 [unity] Added support for Universal Render Pipeline (URP), including 2D Renderer (2D Lights) of Unity 2019.3 through an additional UPM package. Closes #1413. 2019-12-20 10:08:21 +01:00
Harald Csaszar
d4b29c34c7 [unity] Added support for Universal Render Pipeline (URP), including 2D Renderer (2D Lights) of Unity 2019.3 through an additional UPM package. Closes #1413. 2019-12-20 10:07:20 +01:00
Harald Csaszar
043d2b6365 [unity] Fixed SkeletonData asset preview constantly loading when editing a prefab. Closes #1545. 2019-12-16 17:15:07 +01:00
Harald Csaszar
3f9d7b1c63 [unity] Fixed SkeletonData asset preview constantly loading when editing a prefab. Closes #1545. 2019-12-16 17:13:33 +01:00
Harald Csaszar
9d46a0c8bf [unity] Now supporting correct CanvasGroup alpha blending at SkeletonGraphic shaders via an additional parameter CanvasGroup Compatible. Closes #1576. 2019-12-16 14:54:11 +01:00
Harald Csaszar
ce0b4ff2b2 [unity] Now supporting correct CanvasGroup alpha blending at SkeletonGraphic shaders via an additional parameter CanvasGroup Compatible. Closes #1576. 2019-12-16 14:52:08 +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
814d3a0408 [unity] Fixed Prefab Inspector constantly reloading in Unity 2019.3. Closes #1387. 2019-12-11 21:04:51 +01:00
Harald Csaszar
9550e9e6bc [unity] Fixed Prefab Inspector constantly reloading in Unity 2019.3. Closes #1387. 2019-12-11 21:04:02 +01:00
Harald Csaszar
cdcdb64a4f [unity] BoneFollower can now optionally follow (uniform) world scale of the reference bone. Renamed BoneFollower.followLocalScale to followScale. Scenes and prefabs are automatically upgraded, code needs manual correction. 2019-12-10 16:28:32 +01:00
Harald Csaszar
a8062da998 [unity] Fixed error when querying outline properties at LWRP shaders. Closes #1565. 2019-12-09 15:55:35 +01:00
Harald Csaszar
68bf9d60df [unity] Fixed error when querying outline properties at LWRP shaders. Closes #1565. 2019-12-09 15:54:56 +01:00
Harald Csaszar
2b4bbcb4ee [unity] Import: Fixed Skeleton not being updated when atlas page texture count changed. Closes #1562. 2019-12-05 12:58:13 +01:00
Harald Csaszar
a239aee367 [unity] Import: Fixed Skeleton not being updated when atlas page texture count changed. Closes #1562. 2019-12-05 12:57:29 +01:00
Harald Csaszar
60bfdd16f0 [unity] Fixed Timeline SpineAnimationStateTrack not showing Track Index parameter in Inspector at older Unity versions. Closes #1558. 2019-12-02 19:11:26 +01:00
Harald Csaszar
dbdaafc6a0 [unity] Fixed Timeline SpineAnimationStateTrack not showing Track Index parameter in Inspector at older Unity versions. Closes #1558. 2019-12-02 19:10:22 +01:00
Harald Csaszar
80f42c65a4 [unity] Minor cleanup, removed some useless comments. 2019-12-02 17:43:48 +01:00
Harald Csaszar
1d5189db81 [unity] Cleanup: merged common code of GetRepackedAttachments and GetRepackedSkin. See commit e3245ed. 2019-12-02 16:30:32 +01:00
Harald Csaszar
e3245ed590 [unity] Added support for additional texture channels (e.g. normal maps) at GetRepackedAttachments(). Commit before merging common code of GetRepackedAttachments and GetRepackedSkin. See #1519. 2019-12-02 16:21:45 +01:00
Harald Csaszar
d99fd64e2d [unity] Re-added removed extension method GetRepackedAttachments(). Cleanup: Removed extension methods Attachment.GetRegion(). See commit f2a8c9a. See #1557. 2019-11-29 16:45:20 +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
de84c1000e [unity] Fixed Skin extension methods not copying skin bones and constraints. Closes #1556. 2019-11-28 14:40:13 +01:00
Harald Csaszar
237b33d82f [unity] Fixed Skin extension methods not copying skin bones and constraints. Closes #1556. 2019-11-28 14:39: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
ed68aef0ad [unity] Added SkeletonRenderer.EditorSkipSkinSync property for setting custom skins in editor scripts. Only affects inspector synchronisation of skin with initialSkinName, not startup initialization. Closes #1469. 2019-11-25 19:20:58 +01:00
Harald Csaszar
68ae7bd441 [unity] Added SkeletonRenderer.EditorSkipSkinSync property for setting custom skins in editor scripts. Only affects inspector synchronisation of skin with initialSkinName, not startup initialization. Closes #1469. 2019-11-25 19:19:52 +01:00
Harald Csaszar
ffb4425e42 [unity] Fixed reappearing incorrect draw order issue under some circumstances when using LWRP and 3+ submeshes with alternating materials. Now disabling GPU instancing at affected materials when fixDrawOrder parameter is enabled. Closes #1486. 2019-11-21 16:07:48 +01:00
Harald Csaszar
7da21aff7a [unity] Fixed reappearing incorrect draw order issue under some circumstances when using LWRP and 3+ submeshes with alternating materials. Now disabling GPU instancing at affected materials when fixDrawOrder parameter is enabled. Closes #1486. 2019-11-21 16:03:40 +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
1aaf1446ac Example scenes: Updated Hero example character project. Merged spine-unity/Hero and ./Hero to a single new Hero project by Soren. The new project provides separate skins for morning star and sword. Updated other spine-unity example project versions. 2019-11-20 13:52:44 +01:00
Harald Csaszar
915273d458 Example scenes: Updated Hero example character project. Merged spine-unity/Hero and ./Hero to a single new Hero project by Soren. The new project provides separate skins for morning star and sword. Updated other spine-unity example project versions. 2019-11-20 13:50:31 +01:00
Harald Csaszar
0006cd8b3c [unity] Fixed Spine/Skeleton Lit shader not being affected by point lights. Closes #1550. Also fixed outline 4 vs 8 neighbourhood parameter being ignored (due to #pragma multi_compile / #pragma shader_feature not being evaluated in included cginc files, too late in preprocessor stage). 2019-11-19 17:15:06 +01:00
Harald Csaszar
fa712fc325 [unity] Fixed Spine/Skeleton Lit shader not being affected by point lights. Closes #1550. Also fixed outline 4 vs 8 neighbourhood parameter being ignored (due to #pragma multi_compile / #pragma shader_feature not being evaluated in included cginc files, too late in preprocessor stage). 2019-11-19 17:10:35 +01:00
Harald Csaszar
66a4a5a60b [unity] Additional outline shader variant for all shaders. Added outline section to shader inspector GUIs. Closes #1531. 2019-11-18 19:17:05 +01:00
Harald Csaszar
83e03e9c49 [unity] Additional outline shader variant for all shaders. Added outline section to shader inspector GUIs. Closes #1531. 2019-11-18 19:14:22 +01:00
badlogic
f956dc4bfc Merge branch '3.8' into 3.9-beta 2019-11-15 12:57:48 +01:00
Harald Csaszar
a5bcb324ff [unity] Fixed mask interaction materials not working when changing skins dynamically. Closes #1546. 2019-11-11 19:30:52 +01:00
badlogic
bc2816867e Merge branch '3.8' into 3.9-beta 2019-10-31 19:27:56 +01:00
Harald Csaszar
179bb49f52 [unity] Real physics hinge chains for both 2D and 3D physics. Create hinge chain` now create proper setup for Unity physics, including flipping support. Closes #1515. 2019-10-31 17:54:38 +01:00
badlogic
114dd18c46 Merge branch '3.8' into 3.9-beta 2019-10-31 17:10:50 +01:00
Harald Csaszar
f3bcd6e28f [unity] Fixed duplicated SkeletonUtilityBones not following properly. Closes #1536. 2019-10-31 12:18:22 +01:00
Harald Csaszar
226d551594 [unity] Fixed path name backslashes in Path.GetDirectoryName(), replaced by slashes. Due to pathname differences, SetDefaultTextureSettings was not called on import on Unity 2019.1 and 2019.2. See #1514. Added asset context to some log statements to quickly jump to corresponding asset. 2019-10-30 17:30:53 +01:00
Harald Csaszar
bec09c14cf [unity] Fixed editor bone scale reset to 1.0 after play mode changes. Closes #1526. 2019-10-22 17:13:39 +02:00