70 Commits

Author SHA1 Message Date
Harald Csaszar
016f438d59 [unity] SkeletonGraphic now fully supports SkeletonUtility for generating a hierarchy of SkeletonUtilityBones. Closes #1637. 2020-03-11 20:07:25 +01:00
Harald Csaszar
41f9aeac18 [unity] Fixed a bug in SkeletonGraphic when submesh instructions are empty and clipping is active. 2020-02-24 15:42:34 +01:00
Harald Csaszar
3a7aff7a5c [unity] Improved SkeletonGraphic's "Match RectTransform with Mesh Bounds" features: providing a button in the Inspector, automatically called when instantiated in Editor. Closes #1607.
Improved general drag and drop behaviour of SkeletonDataAssets, they are now parented to the drop mouse-over target.
2020-01-30 17:02:25 +01:00
Harald Csaszar
c568169821 [unity] Fixed BoneFollowerGraphic throwing null reference exception if it has no Canvas parent. Closes #1603. 2020-01-21 13:41:26 +01:00
Harald Csaszar
99ff4cba6b [unity] Minor - fixed a component menu name string (looed like accidental string replacement). 2020-01-08 20:27:07 +01:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
Harald Csaszar
9550e9e6bc [unity] Fixed Prefab Inspector constantly reloading in Unity 2019.3. Closes #1387. 2019-12-11 21:04:02 +01:00
Harald Csaszar
68ae7bd441 [unity] Added SkeletonRenderer.EditorSkipSkinSync property for setting custom skins in editor scripts. Only affects inspector synchronisation of skin with initialSkinName, not startup initialization. Closes #1469. 2019-11-25 19:19:52 +01:00
Harald Csaszar
7da21aff7a [unity] Fixed reappearing incorrect draw order issue under some circumstances when using LWRP and 3+ submeshes with alternating materials. Now disabling GPU instancing at affected materials when fixDrawOrder parameter is enabled. Closes #1486. 2019-11-21 16:03:40 +01:00
Harald Csaszar
a5bcb324ff [unity] Fixed mask interaction materials not working when changing skins dynamically. Closes #1546. 2019-11-11 19:30:52 +01:00
Harald Csaszar
179bb49f52 [unity] Real physics hinge chains for both 2D and 3D physics. Create hinge chain` now create proper setup for Unity physics, including flipping support. Closes #1515. 2019-10-31 17:54:38 +01:00
Harald Csaszar
f3bcd6e28f [unity] Fixed duplicated SkeletonUtilityBones not following properly. Closes #1536. 2019-10-31 12:18:22 +01:00
Harald Csaszar
e769b848da [unity] Fixed SkeletonGraphic displaying setup pose instead of first frame on freeze. Closes #1511. 2019-10-03 16:03:44 +02:00
Harald Csaszar
b1c1dac17a [unity] Fixed ignored SkeletonAnimation looping change when AnimationName is the same. Closes #1396. 2019-09-26 18:43:17 +02:00
Harald Csaszar
bfeac4069c [unity] Renamed misleading MixMode.SpineStyle enum name at SkeletonMecanim to MixMode.Hard. SkeletonMecanim Layer Mix Mode now defaults to MixMode.MixNext instead of MixMode.Hard for new instances. Closes #1505. 2019-09-26 13:42:20 +02:00
Harald Csaszar
9c1f6ad10f [unity] Updated changelog with entry for "Fix draw order" parameter. Changed default value to disabled to maintain previous behaviour. See #1486. 2019-09-25 15:45:37 +02:00
Harald Csaszar
e4ae0ceb1c [unity] Fixed incorrect draw order issue when using LWRP and 3+ submeshes with alternating materials. Introduces a new "Fix draw order" parameter at SkeletonRenderer inspector. Closes #1486. 2019-09-25 15:26:15 +02:00
Harald Csaszar
e88cfd4dac [unity] Fixed an exception at SkeletonGraphic when no active attachments are set. MeshGenerator.GenerateSingleSubmeshInstruction() didnt't handle the case of all-null attachments. Improved code to not generate an unnecessary empty instruction. Closes #1491. 2019-09-23 13:12:16 +02:00
Harald Csaszar
9483df76b5 [unity] SkeletonUtility spawn methods were not saved in Prefab mode. Closes #1481. 2019-09-05 19:31:59 +02:00
Harald Csaszar
4c1e01474e [unity] Fixed an exception at SkeletonUtilityBone when using skin bones. Closes #1464. 2019-09-04 17:19:24 +02:00
Harald Csaszar
3e55e5396e [unity] Minor: improved warning message for incorrect material setup, added object reference so that you can jump to the respective object that caused the problem. 2019-09-03 14:52:12 +02:00
NathanSweet
842dffbd83 [all] Source clean up, formatting, and tabs for indentation. 2019-08-27 15:57:14 +02:00
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
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
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
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
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
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
bad82f81be [unity] Adapted spine-unity to commit 73fc786 "Made Skeleton.scaleX/scaleY private". 2019-06-24 15:21:28 +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
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
5bf408f9bb [unity] Fixed Spine shaders not displaying on Nintendo Switch. Closes #1364. 2019-05-28 20:18:18 +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
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
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
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
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