1378 Commits

Author SHA1 Message Date
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
Harald Csaszar
86b979e812 [unity] Fixed editor bone scale reset to 1.0 after play mode changes. Closes #1526. 2019-10-22 17:12:39 +02:00
Harald Csaszar
732595eb01 [unity] SetDefaultTextureSettings was not called properly on import. Now fixed with working proper meta-file based solution. Closes #1514. 2019-10-21 13:37:21 +02:00
Harald Csaszar
ae2d40fd84 [unity] SetDefaultTextureSettings was not called properly on import. Now fixed with working proper meta-file based solution. Closes #1514. 2019-10-21 13:35:46 +02:00
Harald Csaszar
24d4185016 [unity] Fixed compile error on Unity 2018.3+. 2019-10-20 18:43:44 +02:00
Harald Csaszar
f595659423 [unity] Fixed compile error on Unity 2018.3+. 2019-10-20 18:43:15 +02:00
Harald Csaszar
9bdd82d6c3 [unity] Fixed Unity editor bone scale resetting to 1.0 after play mode change. Closes #1526. 2019-10-18 12:40:42 +02:00
Harald Csaszar
5b98c80d32 [unity] Fixed Unity editor bone scale resetting to 1.0 after play mode change. Closes #1526. 2019-10-18 12:39:53 +02:00
Harald Csaszar
d593a3efbc [unity] Added 'SpriteMask and RectMask2D' example scene to demonstrate mask setup. 2019-10-15 15:39:25 +02:00
Harald Csaszar
d3def95b08 [unity] Added 'SpriteMask and RectMask2D' example scene to demonstrate mask setup. 2019-10-15 15:36:23 +02:00
Harald Csaszar
c6669dbaa1 [unity] Fixed build error on Timeline UPM package and Unity 2018+ due to spine-timeline-editor.asmdef being included in normal build. 2019-10-15 14:26:59 +02:00
Harald Csaszar
39773969b6 [unity] Fixed build error on Timeline UPM package and Unity 2018+ due to spine-timeline-editor.asmdef being included in normal build. 2019-10-15 14:25:40 +02: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
bbbb1495b2 [unity] GetRepackedSkin allows to include normal maps (and other texture properties) during repacking via optional parameter. Closes #1519. 2019-10-09 22:06:39 +02:00
Harald Csaszar
fc0a5df0db [unity] GetRepackedSkin allows to include normal maps (and other texture properties) during repacking via optional parameter. Closes #1519. 2019-10-09 22:06:12 +02:00
Harald Csaszar
9c865b7057 [unity] Fixed SetDefaultTextureSettings not being called on import. Existing texture settings are preserved. Closes #1514. 2019-10-08 18:02:38 +02:00
Harald Csaszar
d517e32442 [unity] Fixed SetDefaultTextureSettings not being called on import. Existing texture settings are preserved. Closes #1514. 2019-10-08 18:00:41 +02:00
Harald Csaszar
f0fa80b8ba [unity] Fixed timeline editor asmdef file for newer unity versions. See commit e4fefcf. See #1262. 2019-10-07 21:52:44 +02:00
Harald Csaszar
2031fe14db [unity] Fixed timeline editor asmdef file for newer unity versions. See commit e4fefcf. See #1262. 2019-10-07 21:51:05 +02:00
Harald Csaszar
d8a69bd032 [unity] Updated timeline documentation and changelog to previous timeline feature commit f0b25c8. See #1262. 2019-10-07 21:12:54 +02:00
Harald Csaszar
82a2c26d54 [unity] Updated timeline documentation and changelog to previous timeline feature commit f0b25c8. See #1262. 2019-10-07 21:07:45 +02:00
Harald Csaszar
01a4c0c662 [unity] Fixed SkeletonGraphic displaying setup pose instead of first frame on freeze. Closes #1511. 2019-10-03 16:04:19 +02:00
Harald Csaszar
e769b848da [unity] Fixed SkeletonGraphic displaying setup pose instead of first frame on freeze. Closes #1511. 2019-10-03 16:03:44 +02:00