1060 Commits

Author SHA1 Message Date
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
9550e9e6bc [unity] Fixed Prefab Inspector constantly reloading in Unity 2019.3. Closes #1387. 2019-12-11 21:04:02 +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
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
237b33d82f [unity] Fixed Skin extension methods not copying skin bones and constraints. Closes #1556. 2019-11-28 14:39:39 +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
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
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
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
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
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
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
Harald Csaszar
a5bcb324ff [unity] Fixed mask interaction materials not working when changing skins dynamically. Closes #1546. 2019-11-11 19:30:52 +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
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
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
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
f595659423 [unity] Fixed compile error on Unity 2018.3+. 2019-10-20 18:43:15 +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
d3def95b08 [unity] Added 'SpriteMask and RectMask2D' example scene to demonstrate mask setup. 2019-10-15 15:36:23 +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
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
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
e769b848da [unity] Fixed SkeletonGraphic displaying setup pose instead of first frame on freeze. Closes #1511. 2019-10-03 16:03:44 +02:00
Harald Csaszar
f0b25c8a86 [unity] Added multiple features to Timeline SpineAnimationStateClip such as playback speed, blending by overlap and synchronisation of MixDuration with blend duration. Adds preferences parameter "Use Blend Duration" which can be disabled to enable old behaviour. Fixes #1262. 2019-10-03 15:31:47 +02:00
Harald Csaszar
9c11431988 [unity] Adapted skeleton baking window to Unity 2018.3 prefab API and added it to context menu again. Closes #1471. 2019-09-27 17:22:19 +02:00
Harald Csaszar
19bbd5519f [untiy] Fixed a compile error when building executable (Texture2D.alphaIsTransparency exists only in editor). 2019-09-27 12:03:50 +02:00
Harald Csaszar
b1c1dac17a [unity] Fixed ignored SkeletonAnimation looping change when AnimationName is the same. Closes #1396. 2019-09-26 18:43:17 +02:00
Harald Csaszar
29e0768a84 [unity] Fixed SetDefaultTextureSettings overwriting existing user texture settings when re-importing atlas asset. Closes #1507. Fixed next re-import after moving a spine texture setting material texture to null. Closes #1398. Closes #1397. 2019-09-26 16:36:40 +02:00
Harald Csaszar
bfeac4069c [unity] Renamed misleading MixMode.SpineStyle enum name at SkeletonMecanim to MixMode.Hard. SkeletonMecanim Layer Mix Mode now defaults to MixMode.MixNext instead of MixMode.Hard for new instances. Closes #1505. 2019-09-26 13:42:20 +02:00
Harald Csaszar
9c1f6ad10f [unity] Updated changelog with entry for "Fix draw order" parameter. Changed default value to disabled to maintain previous behaviour. See #1486. 2019-09-25 15:45:37 +02:00
Harald Csaszar
e4ae0ceb1c [unity] Fixed incorrect draw order issue when using LWRP and 3+ submeshes with alternating materials. Introduces a new "Fix draw order" parameter at SkeletonRenderer inspector. Closes #1486. 2019-09-25 15:26:15 +02:00
Harald Csaszar
31f9356af8 [unity] Fixed Skin created by GetRepackedSkin not copying constraints list. See #1474. 2019-09-25 11:03:54 +02:00
Harald Csaszar
159d71b827 [unity] Fixed Skin created by GetRepackedSkin not copying bones list. Closes #1474. 2019-09-24 17:07:12 +02:00
Harald Csaszar
12ca54ab5e [unity] Fixed AtlasUtilities texture clone not copying wrap mode or filter mode. Closes #1478. 2019-09-24 15:50:01 +02:00
Harald Csaszar
22251a482a [unity] Fixed a compile error when TK2D define is enabled. 2019-09-23 15:37:17 +02:00
Harald Csaszar
e88cfd4dac [unity] Fixed an exception at SkeletonGraphic when no active attachments are set. MeshGenerator.GenerateSingleSubmeshInstruction() didnt't handle the case of all-null attachments. Improved code to not generate an unnecessary empty instruction. Closes #1491. 2019-09-23 13:12:16 +02:00
Harald Csaszar
9483df76b5 [unity] SkeletonUtility spawn methods were not saved in Prefab mode. Closes #1481. 2019-09-05 19:31:59 +02:00
Harald Csaszar
4c1e01474e [unity] Fixed an exception at SkeletonUtilityBone when using skin bones. Closes #1464. 2019-09-04 17:19:24 +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
Harald Csaszar
3e55e5396e [unity] Minor: improved warning message for incorrect material setup, added object reference so that you can jump to the respective object that caused the problem. 2019-09-03 14:52:12 +02:00
Harald Csaszar
40e69c9164 [unity] Minor: Improved material settings warning text to be more precise. 2019-09-03 12:39:32 +02:00
Harald Csaszar
af3d657a11 [unity] Fixed a bug where non-spine json files were reporting false errors. 2019-09-03 12:23:20 +02:00
Harald Csaszar
dbfceec061 [unity] Fixed exception when .atlas1.txt files found amoung assets. Closes #1473. 2019-08-29 16:42:26 +02:00
Harald Csaszar
1a34ed59d5 [unity] Providing error dialog and verbose error log message in case of version mismatch. Also providing error description when viewing skeletonData in inspector. Closes #1463. 2019-08-28 17:30:35 +02:00
NathanSweet
842dffbd83 [all] Source clean up, formatting, and tabs for indentation. 2019-08-27 15:57:14 +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
f45e13b40d [unity] Fixed activating and deactivating asmdef files for 2D Toolkit. 2019-08-23 14:00:41 +02:00
Harald Csaszar
dabe0456bc [unity] Fixed a compile error in 2D Toolkit compilation branch. 2019-08-23 13:40:51 +02:00