73 Commits

Author SHA1 Message Date
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
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
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02:00
Harald Csaszar
0d2ab87816 [unity] Added support for Timeline in Unity 2019, using existing components. Please visit Edit-Preferences-Spine to enable Timeline support. Closes #1326. 2019-04-30 18:10:48 +02:00
Harald Csaszar
02fc928318 [unity] Reverting last commit changes again since Unity's auto code updater still causes mixed line endings on Unity 2019 due to ignoring #if branches in shaders. Will be changed in gitattributes instead to change cginc to lf. 2019-04-27 11:57:31 +02:00
Harald Csaszar
c8594a66c4 [unity] Reverting last commit changes again since Unity's auto code updater still causes mixed line endings on Unity 2019 due to ignoring #if branches in shaders. Will be changed in gitattributes instead to change cginc to lf. 2019-04-27 11:54:19 +02:00
Harald Csaszar
f53ce3734c [unity] Prevented a warning to appear in Unity 2017.3 and newer. Code auto-update previously caused mixed line endings. 2019-04-27 10:28:35 +02:00
Harald Csaszar
751476265b [unity] Prevented a warning to appear in Unity 2017.3 and newer. Code auto-update previously caused mixed line endings. 2019-04-27 10:20:17 +02:00
Harald Csaszar
89e759a8f5 [unity] Fixed initial animation not being mixed out in some circumstances due to PoseSkeleton call. Removed PoseSkeleton and PoseWithAnimation extension methods to prevent related issues on user side. Fixed incorrect random Nth frame preview in Scene view for SkeletonAnimation and SkeletonGraphic. Closes #1340. 2019-04-25 18:41:56 +02:00
Harald Csaszar
dfb5ed1106 [unity] Fixed "Skin not found: default" error at binary .skel.bytes files and SkeletonGraphic. Fixes #1332. 2019-04-18 17:02:00 +02:00
Harald Csaszar
5e4141cbdd [unity] Fixed "Skin not found: default" error at binary .skel.bytes files and SkeletonGraphic. Fixes #1332. 2019-04-18 17:00:58 +02:00
Harald Csaszar
37cc095375 [unity] SkeletonGraphic now supports Unity RectMask2D. Closes #1283. 2019-02-21 19:13:06 +01:00
Harald Csaszar
b706b41be6 [unity] SkeletonGraphic now supports Unity RectMask2D. Closes #1283. 2019-02-21 19:10:20 +01:00
Harald Csaszar
32ac918f80 [unity] Added support for Unity's SpriteMask to SkeletonAnimation and SkeletonMecanim. All mask interaction modes supported. See #941. 2019-02-19 18:58:57 +01:00
Harald Csaszar
17c19a9ce7 [unity] Added support for Unity's SpriteMask to SkeletonAnimation and SkeletonMecanim. All mask interaction modes supported. See #941. 2019-02-19 18:58:14 +01:00
Harald Csaszar
56fc291a40 [unity] Updated Mix and Match documentation in code to mention that GetRepackedSkin() is expensive. 2019-02-12 18:04:02 +01:00
Harald Csaszar
8a6b75fb9a [unity] Updated Mix and Match documentation in code to mention that GetRepackedSkin() is expensive. 2019-02-12 18:03:29 +01:00
Harald Csaszar
b90dd126b2 [unity] Fixed Unity Timeline editor errors after Add Spine Animation State Clip Clip due to unset Animation Reference. Closes #1257. 2019-02-11 21:32:25 +01:00
Harald Csaszar
1935d4a488 [unity] Fixed Unity Timeline editor errors after Add Spine Animation State Clip Clip due to unset Animation Reference. Closes #1257. 2019-02-11 21:31:42 +01:00
Harald Csaszar
9d3c9dd443 [unity] SkeletonRenderSeparator now initializes added SkeletonPartsRenderer children correctly. Closes #1269. 2019-02-07 22:23:32 +01:00
Harald Csaszar
7ee15d0627 [unity] SkeletonRenderSeparator now initializes added SkeletonPartsRenderer children correctly. Closes #1269. 2019-02-07 22:22:56 +01:00
Harald Csaszar
009929bbc9 [unity] Fixed SkeletonPartsRenderer mesh tangent error. Also fixed another potential size mismatch at mesh normals or tangents vs vertices. Closes #1265. 2019-02-06 19:18:49 +01:00
Harald Csaszar
7b690624f3 [unity] Fixed SkeletonPartsRenderer mesh tangent error. Also fixed another potential size mismatch at mesh normals or tangents vs vertices. Closes #1265. 2019-02-06 19:17:56 +01:00
Harald Csaszar
1638aa2c5f [unity] Fixed SkeletonGraphic related import error occurring occasionally on first import. Error message was usually 'Skeleton JSON file not set for SkeletonData asset'. Closes #1226. 2019-01-31 14:52:10 +01:00
Harald Csaszar
52245d55f0 [unity] Fixed SkeletonGraphic related import error occurring occasionally on first import. Error message was usually 'Skeleton JSON file not set for SkeletonData asset'. Closes #1226. 2019-01-31 14:43:39 +01:00
Harald Csaszar
255bc753d1 [unity] Fixed SkeletonGraphic's 'Starting Animation' property being cleared upon saving under some circumstances, closes #1252. 2019-01-28 16:33:34 +01:00
Harald Csaszar
e39dbc4795 [unity] Fixed SkeletonGraphic's 'Starting Animation' property being cleared upon saving under some circumstances, closes #1252. 2019-01-28 16:28:28 +01:00
Harald Csaszar
1e25ff05a6 [unity] Fixed removing unreferenced SlotBlendMode material entries, closes #1249. 2019-01-16 17:09:20 +01:00
pharan
66689b3800 [unity] Make components compatible with new 2018.3 Prefab Mode. 2018-12-30 03:30:36 +08:00
pharan
e601f889b7 [unity] Handle SkeletonGraphic with invalid SkeletonDataAsset. 2018-12-13 05:31:41 +08:00
pharan
594e287721 [unity] Minor formatting. 2018-12-13 05:30:39 +08:00
pharan
3331d30eae
[unity] Handle case where 0 textures are repacked. 2018-12-08 01:45:13 +08:00
pharan
3ff14fc186 [unity] Update separator slot APIs. 2018-12-04 19:42:58 +08:00
pharan
8b49ad91cb [unity] SkeletonRenderSeparator update when instantiated in edit mode. 2018-11-13 05:48:21 +08:00
pharan
1458f0eae1 [unity] SkeletonRenderSeparator fixes. 2018-11-13 05:47:47 +08:00
pharan
235391d81e [unity] Remove primary Skin.RemoveAttachment extension. 2018-11-13 05:47:11 +08:00
pharan
495321e6af [unity] SkeletonGraphic runtime instantiation requires Material. 2018-11-13 05:46:45 +08:00
pharan
554c5f0cf5 [unity] Spine/Special/Skeleton Grayscale shader 2018-10-17 22:17:07 +08:00
pharan
910e88bbb3 [unity] Assorted cleanup. 2018-10-08 04:55:47 +08:00
pharan
6fee0e3622 [unity] Use dummy AnimationState for AnimationState timeline mixer preview. 2018-10-06 02:39:29 +08:00
pharan
6e7370f603 [unity] Use scale instead of flip for SkeletonFlip timeline mixer. 2018-10-06 02:37:38 +08:00
pharan
32d56c9c68 [unity] Remove unused local. 2018-10-01 22:03:45 +08:00
pharan
c81f9dbe62 [unity] Copy properties when cloning a MeshAttachment as a linked mesh. 2018-10-01 21:57:11 +08:00
pharan
6a8e1df108 [unity] Separate auto-adding Rigidbody2D for following bones. 2018-09-25 18:03:26 +08:00
pharan
9ea81260eb [unity] Minor cleanup. 2018-09-25 18:00:56 +08:00
pharan
b190af431c [unity] Prevent initialize from triggering first AnimationState update. + Cleanup. 2018-09-24 00:03:47 +08:00
pharan
5c25239ff1 [unity] Animation filling SkeletonData modifier asset. 2018-09-23 23:56:38 +08:00