93 Commits

Author SHA1 Message Date
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
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
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
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
37cc095375 [unity] SkeletonGraphic now supports Unity RectMask2D. Closes #1283. 2019-02-21 19:13:06 +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
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
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
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
9d3c9dd443 [unity] SkeletonRenderSeparator now initializes added SkeletonPartsRenderer children correctly. Closes #1269. 2019-02-07 22:23:32 +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
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
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
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
pharan
12e7ebf78f [unity] SkeletonRenderer cleanup. 2018-11-19 11:06:50 +08:00
pharan
b6c00a4880
[unity] SpineAttributes formatting. 2018-11-19 10:42:25 +08:00
pharan
3a96c22c3a
[unity] Fix mesh generator submesh buffer starting too large. 2018-11-15 11:30:48 +08:00
pharan
ff31888adf
[unity] Fix submesh count regression.
This also fixes tangents not being fully calculated when a skeleton uses no clipping and multiple submeshes.
2018-11-15 10:49:19 +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
aa0dcee09a [unity] SkeletonUtility method for delaying its update order forward. 2018-11-13 05:46:22 +08:00
pharan
1b95de7ac4 [unity] Formatting and docs. 2018-11-13 05:45:47 +08:00
pharan
5ab16f6ba7 [unity] Fix SkeletonUtility not following IK bone positions. 2018-11-13 05:45:11 +08:00
pharan
27828048fb [unity] Fix MeshGenerator unnecessarily disposing buffer objects. 2018-10-18 21:37:24 +08:00
pharan
8d74ef06ac [unity] Prospective resizing for MeshGenerator AddSubmesh branch. 2018-10-18 21:36:22 +08:00
pharan
d78b2fd024 [unity] Use EnsureCapacity for predetermined list sizes. 2018-10-18 21:35:33 +08:00
pharan
fac440c434 [unity] Allow user to preallocate MeshGenerator buffer size. 2018-10-17 22:18:53 +08:00
pharan
6dec3d37fa [unity] Fix MeshGenerator unnecessarily replacing buffer objects. 2018-10-17 22:18:06 +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
230ae89d66 [unity] Improved multiedit for attributes. Updated inspectors. 2018-10-08 04:54:37 +08:00
pharan
8112f9c55d [unity] Material cache for BlendModeMaterials 2018-10-08 04:50:53 +08:00
pharan
6fee0e3622 [unity] Use dummy AnimationState for AnimationState timeline mixer preview. 2018-10-06 02:39:29 +08:00