40 Commits

Author SHA1 Message Date
Harald Csaszar
3151c18b6c [unity] SkeletonRenderer components now provide an additional update mode Only Event Timelines at the Update When Invisible property. Added methods to AnimationState for proper behaviour during transitions. Closes #1815. 2020-11-27 14:03:41 +01:00
Harald Csaszar
d4654588fb [unity] Fixed animation not playing first time entering play mode after compilation. Related to disabled Domain/Scene reload. See #1621. 2020-10-19 18:46:07 +02:00
Harald Csaszar
9667bd2293 [unity] Added OnMeshAndMaterialsUpdated callback for SkeletonRenderSeparator and SkeletonPartsRenderer. Closes #1752. 2020-09-01 16:51:02 +02:00
Harald Csaszar
cccd2132bf [unity] Added/updated HelpUrl of Spine components, now pointing to proper sections of online spine-unity doc. 2020-09-01 16:25:23 +02:00
Harald Csaszar
978b305717 [unity] Added frustum culling / update mode parameters Update When Invisible and UpdateMode to all Skeleton components. Closes #1595. 2020-08-05 19:24:49 +02:00
Harald Csaszar
6e9ad610d6 [unity] Fixed Prefab with SkeletonRenderSeparator constantly loading in editor. Closes #1626. 2020-06-03 18:14:16 +02:00
Harald Csaszar
c54745cbc7 [unity] Fixed an issue related to SkeletonRenderer and Prefabs not calling LateUpdate. Closes #1689. 2020-06-03 15:57:07 +02:00
Harald Csaszar
519b01ee51 [unity] Added OnMeshAndMaterialsUpdated callback event to SkeletonRenderer and SkeletonGraphic. Added example component RenderExistingMesh.cs to render a mesh again with different materials, as required by the new outline-only shaders added in the previous commit. 2020-03-27 17:54:36 +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
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
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
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
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
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02: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
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
pharan
66689b3800 [unity] Make components compatible with new 2018.3 Prefab Mode. 2018-12-30 03:30:36 +08:00
pharan
3ff14fc186 [unity] Update separator slot APIs. 2018-12-04 19:42:58 +08:00
pharan
12e7ebf78f [unity] SkeletonRenderer cleanup. 2018-11-19 11:06:50 +08:00
pharan
1b95de7ac4 [unity] Formatting and docs. 2018-11-13 05:45:47 +08:00
pharan
fac440c434 [unity] Allow user to preallocate MeshGenerator buffer size. 2018-10-17 22:18:53 +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
b190af431c [unity] Prevent initialize from triggering first AnimationState update. + Cleanup. 2018-09-24 00:03:47 +08:00
pharan
5f28ce21d6 [unity] Some inspector improvements. 2018-08-10 23:51:07 +08:00
pharan
d336712ccc [unity] Changed skeleton flipX/Y to scaleX/Y. 2018-07-12 18:05:56 +08:00
pharan
41359c12de [unity] New AtlasAssetBase base class. 2018-05-30 13:24:17 +08:00
pharan
065a10f4b3 [unity] Reorganize folders for asmdef compatibility. Remove old files. 2018-05-29 12:58:49 +08:00