162 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Harald Csaszar
bf365a0dad [unity] Shader cleanup: removed duplicate unused cginc files. See #1255. 2019-07-11 19:30:27 +02:00
Harald Csaszar
e229dab539 [unity] Fixed fragment shader output (from COLOR to SV_Target), fixes ps4 shader compile error. Closes #1374. 2019-07-10 12:43:08 +02:00
Harald Csaszar
bad82f81be [unity] Adapted spine-unity to commit 73fc786 "Made Skeleton.scaleX/scaleY private". 2019-06-24 15:21:28 +02:00
Harald Csaszar
505719c1f1 [unity] Added soft IK support. See #1383. 2019-06-20 10:19:17 +02:00
Harald Csaszar
0df273d327 [unity] Fixed unnecessary correct-material-stencil-comp and save assets calls which caused wait time after exiting play mode. Closes #1385. 2019-06-19 15:03:05 +02:00
Harald Csaszar
04077eeda5 [unity] Fixed a crash related to importing and stencil mode auto-updater. 2019-06-16 22:26:18 +02:00
Harald Csaszar
1d0cce3707 [csharp] Port of more skin API changes, commits: 659c390, 7ee57dc, b3c2170, b71970a, 42c1c4a, 70cdf2d. See #841 2019-06-04 18:24:40 +02:00
Harald Csaszar
5a2ba8dd33 [unity] Fixed endless loop in Unity Editor when updating assets due to stencil parameter auto-update. Closes #1371. 2019-06-03 14:55:55 +02:00
Harald Csaszar
4a684f63bf [csharp] Ported more skin API changes of commits eae88a0 and b87ff73 (Added Mesh#newLinkedMesh(), replaced VertexAttachment#applyDeform with VertexAttachment#deformAttachment), see #841. 2019-05-31 21:25:46 +02:00
Harald Csaszar
5bf408f9bb [unity] Fixed Spine shaders not displaying on Nintendo Switch. Closes #1364. 2019-05-28 20:18:18 +02:00
Harald Csaszar
1eea0c24c9 [unity] Corrected Timeline features documentation file, contained outdated removed features. 2019-05-20 15:44:49 +02:00
Harald Csaszar
0791df8c4c [csharp] Ported skin API changes part2, see #841. Port of changes of commit ff5b854860f639af1c111596bc407cbe12124d1e. 2019-05-20 11:43:00 +02:00
Harald Csaszar
a009c35b82 [csharp] Ported skin API changes, see #841. 2019-05-17 13:54:56 +02:00
Harald Csaszar
215c12cb22 [unity] Fixed Shadow alpha cutoff shader parameters ignoring SlotColor.alpha at all Spine shaders. Now the texture color is multiplied with slot color before the alpha test. Closes #1350. 2019-05-10 15:06:58 +02:00
badlogic
4f3d2d8057 Merge branch '3.7' into 3.8-beta 2019-05-03 10:53:34 +02:00
Harald Csaszar
b198c9b48d [unity] More robustness changes for asmdef files and Timeline support in Unity 2019, see #1326. 2019-05-02 12:43:58 +02:00
Harald Csaszar
66f5ca29ac [unity] Renamed .asmdef files to .txt files to prevent overwriting important automatic modifications when unpacking newer unitypackages over it. For Timeline support in Unity 2019, see #1326. 2019-05-02 12:43:31 +02:00
Harald Csaszar
cb615007d6 [unity] Added support for Timeline in Unity 2019, using existing components. Please visit Edit-Preferences-Spine to enable Timeline support. Closes #1326. 2019-05-02 12:43:03 +02:00
badlogic
7c01654321 [unity] Added missing license headers. 2019-05-02 11:46:52 +02:00
badlogic
09130b15df Merge branch '3.7' into 3.8-beta 2019-05-02 11:43:36 +02:00
badlogic
67f469b06d Merge branch '3.7' of https://github.com/esotericsoftware/spine-runtimes into 3.7 2019-05-02 11:38:47 +02:00
badlogic
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02:00
Harald Csaszar
5e7e03d8f4 [unity] Fixed error message "Animator is not playing an AnimatorController" at SkeletonMecanim and prefabs. Closes #1344. 2019-05-02 11:23:24 +02:00
Harald Csaszar
74560c66a3 [unity] Fixed error message "Animator is not playing an AnimatorController" at SkeletonMecanim and prefabs. Closes #1344. 2019-05-02 11:19:25 +02:00
Harald Csaszar
d9962bfb09 [unity] More robustness changes for asmdef files and Timeline support in Unity 2019, see #1326. 2019-04-30 19:58:00 +02:00
Harald Csaszar
c6fa814c6d [unity] Renamed .asmdef files to .txt files to prevent overwriting important automatic modifications when unpacking newer unitypackages over it. For Timeline support in Unity 2019, see #1326. 2019-04-30 18:36:47 +02:00