1078 Commits

Author SHA1 Message Date
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
Harald Csaszar
5c203ee2db [unity] Fixed SkeletonGraphic not updating the canvas renderer texture after skin changes (e.g. when calling GetRepackedSkin). Closes #1459. 2019-08-20 15:23:18 +02:00
Harald Csaszar
a487d6d0d6 [unity] Fixed one more occurrance where a default skin was assumed to exist (which is no longer the case). Related to ae4790b. See #1453. 2019-08-20 11:04:27 +02:00
Harald Csaszar
bf052f9a4e [unity] Improved yield instructions for animation track events such as End, Complete, Interrupt. Added a generic version to wait for any combination of events. Closes #1457 2019-08-20 11:04:27 +02:00
Harald Csaszar
a232f6ee7f [unity] Fixed incorrect region after GetRepackedSkin when maxAtlasSize leads to downscaling. Previous commit be77b0c let this problem surface more often. Closes #1455. 2019-08-19 15:49:03 +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
7a789752ac [unity] Fixed GetRepackedSkin ignoring whitespace stripping. Closes #1399. 2019-08-15 14:12:55 +02:00
Harald Csaszar
68f0c2f9f3 [unity] BoneFollower now has an additional option to not follow xy position (to follow rotation only). Closes #1451. 2019-08-14 18:02:02 +02:00
Harald Csaszar
2ef2e70210 [unity] Spine LWRP shaders package: Added LWRP version of "Spine/Skeleton" shader. The normal shader no longer worked in LWRP setting on Unity 2019.1.6+ on Android GLES 3.0 (due to instancing problems). Closes #1446. 2019-08-13 19:07:45 +02:00
Harald Csaszar
b151e2e610 [unity] Fixed SkeletonData asset inspector animation playback preview for Unity 2018 and 2019. Closes #1440. 2019-08-09 17:33:42 +02:00
Harald Csaszar
b763cc0256 [unity] Cosmetic change - updated settings label to "Mecanim Bake Settings" to avoid confusion. 2019-08-07 19:07:53 +02:00
Harald Csaszar
9c331fcf4f [unity] Fixed Mecanim events for folders. Added preferences entry whether folder name shall be added to called method name or omitted. 2019-08-07 18:55:16 +02:00
Harald Csaszar
ed95732bf2 [csharp] Changed Skin.Attachment type to generic OrderedDictionary. Cleaned up related code. Closes #1433. 2019-08-07 14:42:15 +02:00
Harald Csaszar
ed43c70bd1 [unity] minor cleanup, removed meta files of no longer existing directories. 2019-08-06 11:45:17 +02:00
Harald Csaszar
ae73a452bb [unity] Fixed potential (non-critical) error messages on first import due to import order. Related to commit regarding GUI icon loading: bc85618. 2019-08-06 11:35:01 +02:00
Harald Csaszar
024d413e9f [unity] Fixed warnings about obsolete prefab method calls (missing #if branch for Unity 2018.4). Closes #1428. 2019-08-05 19:02:11 +02:00
Harald Csaszar
bc856187d3 [unity] Fixed loading Editor icons, directory was assumed at wrong location after assets have been moved. 2019-08-01 16:05:37 +02:00
Harald Csaszar
fb6acbf3c0 [unity] Updated Spine LWRP UPM package for Unity 2019.2 - added separate package.json files for unity 2019.1 and 2019.2. 2019-07-31 15:45:32 +02:00
Harald Csaszar
083ef01160 [unity] Sprite/Pixel Lit shader: Fixed errors in shader inspector GUI at certain configurations after change to ZWrite always on. See commit 4741279. 2019-07-31 09:52:16 +02:00
Harald Csaszar
904b7ce40a [unity] Renamed Packages directory to Modules to prevent Unity from automatically loading the UPM packages contained therein. Otherwise it caused error messages due to nonexistend dependency checking and resolution. 2019-07-26 19:31:43 +02:00
badlogic
9bb480eb5c [unity] Updated README.md. 2019-07-26 13:44:01 +02:00
badlogic
bc6d74eb25 [unity] Removed outdated .pdf file. 2019-07-26 13:19:47 +02:00
Harald Csaszar
9de0118f69 [unity] Renamed shader file Spine-SkeletonLit.shader to Spine-Skeleton-Lit.shader. Adapted changelog to last two commits. 2019-07-25 22:17:43 +02:00
Harald Csaszar
44f2fa9c69 [unity] Added shader variant Spine/Skeleton Lit ZWrite and moved common functionality to cginc files. Cleanup of Skeleton Lit shader. 2019-07-25 22:11:21 +02:00
Harald Csaszar
a5a749d4a8 [unity] Spine/Sprite shaders: Renamed Light Probes parameter to Light Probes & Ambient so that users recognize its effect at first glance (visual name changed in inspector only). 2019-07-25 17:37:22 +02:00
Harald Csaszar
4741279d7d [unity] Spine/Sprite/Pixel Lit shader: Fixed bug where parts were shining through - changed ZWrite to always On, otherwise ForwardAdd pass will incorrectly show lit hidden parts. Added recommendation warning box in SkeletonRenderer inspector for Z Spacing on enabled ZWrite shaders. Closes #1335. 2019-07-24 15:12:25 +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
e898ff829c [unity] Cleanup: Split the file Mesh Generation/SpineMesh into 4 separate files for each contained class. No API changes. 2019-07-17 02:17:03 +02:00
Harald Csaszar
dad97ecc06 [unity] Split the file AttachmentTools into 4 new files for each contained class. 2019-07-17 02:00:08 +02:00
Harald Csaszar
ddf5082dc4 [unity] Cleanup: Spine Editor/Utility/SpineEditorUtilities class into multiple files with partial class qualifier. 2019-07-17 01:47:32 +02:00
Harald Csaszar
9583cb9183 [unity] Cleanup: Removed commented-out code from Timeline component code. 2019-07-16 22:46:07 +02:00
Harald Csaszar
09b8d8c3aa [unity] BlendModeMaterialAsset and it's instance Default BlendModeMaterials.asset now have Apply Additive Material set to true by default in order to apply all blend modes by default. 2019-07-16 22:39:30 +02:00
Harald Csaszar
848faf08b3 [unity] SkeletonMecanim: Changed default MixMode to MixMode.SpineStyle since this potentially prevents dipping to setup pose problems. Cleanup of old text strings mentioning SkeletonAnimator instead of SkeletonMecanim. 2019-07-16 22:26:59 +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
Harald Csaszar
64a6ae4034 [unity] Renamed editor script PointFollowerEditor to PointFollowerInspector. Editor scripts moved accordingly to previous commit 59746cc: "Lots of files and components moved to new directories for restructuring cleanup". 2019-07-16 21:25:20 +02:00
Harald Csaszar
59746ccbf6 [unity] Deprecated Modules/SlotBlendModes/SlotBlendModes component. Changed it's namespace from Spine.Unity.Modules to Spine.Unity.Deprecated. Lots of files and components moved to new directories for restructuring cleanup. 2019-07-16 20:01:47 +02:00
Harald Csaszar
c394057e34 [unity] Restructuring cleanup - moved shaders to unified location. Updated CHANGELOG LWRP section and added section about restructuring changes. 2019-07-16 16:17:01 +02:00
Harald Csaszar
195ae91db1 [unity] New separate LWRP shaders UPM package content added to repository. Cleanup and restructuring / adaptations of existing shaders. Added and improved warnings in case of problematic texture and material settings. See #1255. 2019-07-14 22:56:49 +02:00
Harald Csaszar
39063c5d37 [unity] Fixed a bug in SpineMecanim which caused dipping to SetupPose during transitions due to MixBlend.Replace on first track. 2019-07-12 20:27:24 +02:00
Harald Csaszar
9e017d03eb [unity] Shader cleanup: moved shaders from second modules/shaders directory to main shaders directory. Preparation commit for LWRP shaders. See #1255. 2019-07-11 19:31:20 +02:00