514 Commits

Author SHA1 Message Date
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
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
5fc3f99d4b [unity] Fixed SkeletonMecanim leftover animation rotations when transitioning to an empty "Write Defaults" state. Fixes #1321. 2019-04-05 14:34:55 +02:00
Harald Csaszar
a3916b82c8 [unity] Fixed SkeletonMecanim leftover animation rotations when transitioning to an empty "Write Defaults" state. Fixes #1321. 2019-04-05 14:34:08 +02:00
Harald Csaszar
9bb5a0d044 [unity] Fixed SkeletonMecanim layer blend modes, now it detects Override/Add from the animation controller. Also fixed some animator related warnings in editor. Closes ##1317. 2019-04-02 19:48:17 +02:00
Harald Csaszar
646e6aec56 [unity] Fixed SkeletonMecanim layer blend modes, now it detects Override/Add from the animation controller. Also fixed some animator related warnings in editor. Closes ##1317. 2019-04-02 19:47:00 +02:00
Harald Csaszar
f0e9164648 [unity] Ported AnimationState and Animation changes, references in spine-unity. See #1303. 2019-03-20 18:44:12 +01:00
Harald Csaszar
b5e8d49cb2 [unity] Fixed material being cleared to null when MeshRenderer is disabled in the editor. Closes #1288. 2019-03-04 18:30:47 +01:00
Harald Csaszar
088fb2ea02 [unity] Fixed material being cleared to null when MeshRenderer is disabled in the editor. Closes #1288. 2019-03-04 18:29:46 +01: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
638e176f59 [unity] Corrected #if guards for Unity 5.x compatibility before Unity added SpriteMasks. See #941. 2019-02-19 19:56:04 +01:00
Harald Csaszar
540c61d619 [unity] Corrected #if guards for Unity 5.x compatibility before Unity added SpriteMasks. See #941. 2019-02-19 19:54:59 +01:00
Harald Csaszar
b8a208d382 [unity] Added #if guards for Unity 5.x compatibility before Unity added SpriteMasks. See #941. 2019-02-19 19:42:49 +01:00
Harald Csaszar
8b1359db0b [unity] Added #if guards for Unity 5.x compatibility before Unity added SpriteMasks. See #941. 2019-02-19 19:41:00 +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
5344d71c05 [unity] Fixed PointFollower error message on script rebuild, closes #1261. 2019-01-22 12:27:30 +01:00
Harald Csaszar
edb2fbe85d [unity] Added using and finally-dispose guards around all stream instances, see #1260. 2019-01-22 11:27:47 +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
65e8d12e63
[unity] Fix tint black buffer mismatched sizes when vertex array is smaller. 2018-12-18 14:02:38 +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
68ef65eee0
[unity] Rename extension to SetLocalPosition 2018-12-10 02:28:52 +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
37b99d6933
[unity] spine-unity whitespace formatting. 2018-12-03 17:49:34 +08:00
harald.csaszar
6d3fc9b3a0 [unity] Fixed unity mecanim transition interruptions for SkeletonMecanim. Fixes #1208 2018-11-29 10:12:21 +01:00
pharan
533a25286a [unity] SpineEvent attribute audioOnly flag. 2018-11-19 11:07:24 +08:00