477 Commits

Author SHA1 Message Date
Harald Csaszar
83e03e9c49 [unity] Additional outline shader variant for all shaders. Added outline section to shader inspector GUIs. Closes #1531. 2019-11-18 19:14:22 +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
226d551594 [unity] Fixed path name backslashes in Path.GetDirectoryName(), replaced by slashes. Due to pathname differences, SetDefaultTextureSettings was not called on import on Unity 2019.1 and 2019.2. See #1514. Added asset context to some log statements to quickly jump to corresponding asset. 2019-10-30 17:30:53 +01:00
Harald Csaszar
86b979e812 [unity] Fixed editor bone scale reset to 1.0 after play mode changes. Closes #1526. 2019-10-22 17:12:39 +02:00
Harald Csaszar
ae2d40fd84 [unity] SetDefaultTextureSettings was not called properly on import. Now fixed with working proper meta-file based solution. Closes #1514. 2019-10-21 13:35:46 +02:00
Harald Csaszar
f595659423 [unity] Fixed compile error on Unity 2018.3+. 2019-10-20 18:43:15 +02:00
Harald Csaszar
5b98c80d32 [unity] Fixed Unity editor bone scale resetting to 1.0 after play mode change. Closes #1526. 2019-10-18 12:39:53 +02:00
Harald Csaszar
d517e32442 [unity] Fixed SetDefaultTextureSettings not being called on import. Existing texture settings are preserved. Closes #1514. 2019-10-08 18:00:41 +02:00
Harald Csaszar
f0b25c8a86 [unity] Added multiple features to Timeline SpineAnimationStateClip such as playback speed, blending by overlap and synchronisation of MixDuration with blend duration. Adds preferences parameter "Use Blend Duration" which can be disabled to enable old behaviour. Fixes #1262. 2019-10-03 15:31:47 +02:00
Harald Csaszar
9c11431988 [unity] Adapted skeleton baking window to Unity 2018.3 prefab API and added it to context menu again. Closes #1471. 2019-09-27 17:22:19 +02:00
Harald Csaszar
29e0768a84 [unity] Fixed SetDefaultTextureSettings overwriting existing user texture settings when re-importing atlas asset. Closes #1507. Fixed next re-import after moving a spine texture setting material texture to null. Closes #1398. Closes #1397. 2019-09-26 16:36:40 +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
22251a482a [unity] Fixed a compile error when TK2D define is enabled. 2019-09-23 15:37:17 +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
dbfceec061 [unity] Fixed exception when .atlas1.txt files found amoung assets. Closes #1473. 2019-08-29 16:42:26 +02:00
Harald Csaszar
1a34ed59d5 [unity] Providing error dialog and verbose error log message in case of version mismatch. Also providing error description when viewing skeletonData in inspector. Closes #1463. 2019-08-28 17:30:35 +02:00
NathanSweet
842dffbd83 [all] Source clean up, formatting, and tabs for indentation. 2019-08-27 15:57:14 +02:00
Harald Csaszar
f45e13b40d [unity] Fixed activating and deactivating asmdef files for 2D Toolkit. 2019-08-23 14:00:41 +02:00
Harald Csaszar
dabe0456bc [unity] Fixed a compile error in 2D Toolkit compilation branch. 2019-08-23 13:40:51 +02:00
Harald Csaszar
ae4790b85c [unity] Fixed code where a default skin was assumed to exist (which is no longer the case). Fixes an error at SkeletonDataAsset inspector -> show slots -> show attachments. Closes #1453. 2019-08-19 11:48:16 +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
b151e2e610 [unity] Fixed SkeletonData asset inspector animation playback preview for Unity 2018 and 2019. Closes #1440. 2019-08-09 17:33:42 +02:00
Harald Csaszar
b763cc0256 [unity] Cosmetic change - updated settings label to "Mecanim Bake Settings" to avoid confusion. 2019-08-07 19:07:53 +02:00
Harald Csaszar
9c331fcf4f [unity] Fixed Mecanim events for folders. Added preferences entry whether folder name shall be added to called method name or omitted. 2019-08-07 18:55:16 +02:00
Harald Csaszar
ed95732bf2 [csharp] Changed Skin.Attachment type to generic OrderedDictionary. Cleaned up related code. Closes #1433. 2019-08-07 14:42:15 +02:00
Harald Csaszar
ed43c70bd1 [unity] minor cleanup, removed meta files of no longer existing directories. 2019-08-06 11:45:17 +02:00
Harald Csaszar
ae73a452bb [unity] Fixed potential (non-critical) error messages on first import due to import order. Related to commit regarding GUI icon loading: bc85618. 2019-08-06 11:35:01 +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
bc856187d3 [unity] Fixed loading Editor icons, directory was assumed at wrong location after assets have been moved. 2019-08-01 16:05:37 +02:00
Harald Csaszar
083ef01160 [unity] Sprite/Pixel Lit shader: Fixed errors in shader inspector GUI at certain configurations after change to ZWrite always on. See commit 4741279. 2019-07-31 09:52:16 +02:00
Harald Csaszar
44f2fa9c69 [unity] Added shader variant Spine/Skeleton Lit ZWrite and moved common functionality to cginc files. Cleanup of Skeleton Lit shader. 2019-07-25 22:11:21 +02:00
Harald Csaszar
a5a749d4a8 [unity] Spine/Sprite shaders: Renamed Light Probes parameter to Light Probes & Ambient so that users recognize its effect at first glance (visual name changed in inspector only). 2019-07-25 17:37:22 +02:00
Harald Csaszar
4741279d7d [unity] Spine/Sprite/Pixel Lit shader: Fixed bug where parts were shining through - changed ZWrite to always On, otherwise ForwardAdd pass will incorrectly show lit hidden parts. Added recommendation warning box in SkeletonRenderer inspector for Z Spacing on enabled ZWrite shaders. Closes #1335. 2019-07-24 15:12:25 +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
ddf5082dc4 [unity] Cleanup: Spine Editor/Utility/SpineEditorUtilities class into multiple files with partial class qualifier. 2019-07-17 01:47:32 +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
64a6ae4034 [unity] Renamed editor script PointFollowerEditor to PointFollowerInspector. Editor scripts moved accordingly to previous commit 59746cc: "Lots of files and components moved to new directories for restructuring cleanup". 2019-07-16 21:25:20 +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
2d5cc4a460 [unity] Changed default sRGBTexture attribute at spine atlas texture import back to true. This creates consistent and correct look in linear and gamma color space which is more important than rare mipmap problems. The potential problem of incorrectly generated mipmaps at pma textures will be reported by warning message, no longer prevented via default settings. 2019-07-08 16:30:33 +02:00
Harald Csaszar
b792cc4b73 [unity] Fixed runtime import hanging on "Importing small assets" in Unity 2019.3 and creating multiple Assets/Editor1, Assets/Editor2, etc dirs. Closes #1384. 2019-06-18 15:58:26 +02:00
Harald Csaszar
1d0cce3707 [csharp] Port of more skin API changes, commits: 659c390, 7ee57dc, b3c2170, b71970a, 42c1c4a, 70cdf2d. See #841 2019-06-04 18:24:40 +02:00
Harald Csaszar
bab8257fc6 [unity] Fixed version numbers at importer. 2019-06-03 16:18:51 +02:00
Harald Csaszar
b23ef5ef1a [unity] Fixed game and scene view updates on skin change for SkeletonRenderer. Closes #1361 2019-05-24 11:47:32 +02:00
Harald Csaszar
c63bc7b88f [csharp] See #1346: Port bone/constraint association with skins. Also contains second (and final) partial port of commit ff5b854. Adapted spine-unity for skin changes. Fixed a bug in Skin setter property. 2019-05-22 18:37:57 +02:00
Harald Csaszar
0791df8c4c [csharp] Ported skin API changes part2, see #841. Port of changes of commit ff5b854860f639af1c111596bc407cbe12124d1e. 2019-05-20 11:43:00 +02:00
Harald Csaszar
a009c35b82 [csharp] Ported skin API changes, see #841. 2019-05-17 13:54:56 +02:00
badlogic
23982e8206 Merge branch '3.7' into 3.8-beta 2019-05-15 17:05:28 +02:00
Harald Csaszar
26e3f928f7 [unity][csharp] Fixed one more potential locale-based parsing exception. See #1354. 2019-05-13 16:50:49 +02:00