941 Commits

Author SHA1 Message Date
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
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
91532f19b1 [unity] Fixed wrong atlas assets being assigned upon import when multiple skeletons are exported to the same directory. Closes #1312. 2019-03-26 17:00:39 +01:00
Harald Csaszar
0d44a041e9 [unity] Added missing Create 2D Hinge Chain button at SkeletonUtilityBone inspector, only 3D version was available. Closes #1310. 2019-03-20 18:17:00 +01:00
Harald Csaszar
75d16a4fc9 [unity] Improved warnings for incorrect material settings, now not triggering at non-Spine shaders. See #1305. 2019-03-12 18:55:00 +01:00
Harald Csaszar
f004e74965 [unity] Fixed Exception in incorrect material setting detection mechanism. Fixes #1305. 2019-03-12 18:34:25 +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
d64decbe3d [unity] Fixed another occurrence of compile errors in Unity 2017.3 when enabling TK2D define due to asmdef files. See #1280. 2019-02-26 16:58:20 +01:00
Harald Csaszar
b706b41be6 [unity] SkeletonGraphic now supports Unity RectMask2D. Closes #1283. 2019-02-21 19:10:20 +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
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
4342bcfa7d [unity] Fixed compile errors with TK2D define due to asmdef files preventing dependency. Closes #1280. 2019-02-15 13:04:22 +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
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
7ee15d0627 [unity] SkeletonRenderSeparator now initializes added SkeletonPartsRenderer children correctly. Closes #1269. 2019-02-07 22:22:56 +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
9c8646eb70 [unity] Fixed compilation errors when TK2D define is set. Closes #1270. 2019-02-04 18:54:42 +01:00
Harald Csaszar
9dad34a387 [unity] Fixed on more occurrence of SkeletonGraphic related import error. Error message was 'Skeleton JSON file not set for SkeletonData asset'. Closes #1226. 2019-02-01 15:27:43 +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
29ac3d9d67 [unity] Added an additional warning when Alpha Is Transparency is enabled at PMA textures, which causes incorrect light ghosting in transparent areas. See #1266. 2019-01-29 16:37:01 +01:00
Harald Csaszar
c612c81435 [unity] Fixed previous commit's texture settings warning code preventing border artifacts when mip maps are enabled on PMA textures. Now only issues warning on Spine atlas textures. See #1266. 2019-01-28 20:08:48 +01:00
Harald Csaszar
dc676cb25a [unity] Changed default texture settings and added warning to prevent border artifacts when mip maps are enabled on PMA textures. Closes #1266. 2019-01-28 19:55:10 +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
92a0d37e9b [unity] Fixed skeleton binary import, was broken by recent changes. Closes #1259. 2019-01-21 15:08:07 +01:00
Harald Csaszar
1e25ff05a6 [unity] Fixed removing unreferenced SlotBlendMode material entries, closes #1249. 2019-01-16 17:09:20 +01:00
Harald Csaszar
91ff412bcd [unity] Fixed errors upon "Reimport All" and related import problems, closes #1248. 2019-01-14 16:39:31 +01:00
Harald Csaszar
3da52c46b3 [unity] Fixed Instantiate from Script example (missing script in SkeletonGraphic part), closes #294 2019-01-09 16:21:36 +01:00
Harald Csaszar
08b5418185 [unity] Fixed SpineAtlasRegionDrawer label error, closes #1245 2019-01-09 14:17:04 +01:00
Harald Csaszar
c054f2ea2b [unity] Fixed Goblins example scene click behaviour. Closes #288. 2019-01-09 11:36:58 +01:00
pharan
66689b3800 [unity] Make components compatible with new 2018.3 Prefab Mode. 2018-12-30 03:30:36 +08:00
pharan
9e7783e4c2 [unity] Minor fix for EditorInstantiation.NewGameObject 2018-12-30 03:28:43 +08:00
pharan
40f5755fe0 [unity] Centralize creating GameObjects in the editor using SpineEditorUtilities.EditorInstantiation. 2018-12-28 22:13:42 +08:00
pharan
0aa617c44a [unity] Updated some example scenes, code and assets. 2018-12-27 21:49:19 +08:00
pharan
0180f59336 [unity] Improved Mecanim+SkeletonAnimation example. 2018-12-20 10:54:19 +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
55f4a2968b
[unity] Some fixes and docs for frame limit example. 2018-12-17 16:17:40 +08:00
pharan
9a7f6add4b [unity] Frame limit example component and scene. 2018-12-17 16:09:42 +08:00
pharan
43f31bd675 [unity] Update example materials. 2018-12-17 16:08:51 +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
Jhett Black
c36e0a93ed [Unity] Use AssetDatabase for locating editor base directory (#1207)
The current method assumes the Spine Runtime exists in a sub-directory of the project's "Assets" folder.

With the package manager, and the support of local packages in Unity 2018, the runtime could be located elsewhere. The AssetDatabase would be a more reliable option for finding this path.
2018-12-11 04:46:34 +08:00
pharan
3b92f7cb79
[unity] Fix warning case in examples. 2018-12-11 04:46:06 +08:00
pharan
bda6c58dbe
[unity] Disable baking in 2018.3 2018-12-11 04:44:19 +08:00
pharan
987d074152
[unity] Skip loading SpineEditorUtilities in play mode. 2018-12-11 03:12:37 +08:00
pharan
1bd0347038
[unity] Fix SkeletonBakingWindow header. 2018-12-11 02:34:05 +08:00
pharan
de543b2cfc [unity] Update 3.7 examples. 2018-12-10 02:32:51 +08:00
pharan
68ef65eee0
[unity] Rename extension to SetLocalPosition 2018-12-10 02:28:52 +08:00