165 Commits

Author SHA1 Message Date
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
Harald Csaszar
e8eb894304 [unity][csharp] Fixed one more potential locale-based parsing exception. See #1354. 2019-05-13 16:49:07 +02:00
Harald Csaszar
dae8f78409 [unity] Supressed 3rd warning in 3.7 branch in Unity 2019.1, fix only in 3.8 due to API changes. See #1336. 2019-05-13 13:06:39 +02:00
Harald Csaszar
3b17c20c9b [unity] Fixed conflicts after merge of 3.7 into 3.8-beta branch. 2019-05-03 14:07:12 +02:00
badlogic
4f3d2d8057 Merge branch '3.7' into 3.8-beta 2019-05-03 10:53:34 +02:00
Harald Csaszar
db6c39007b [unity] Fixed Timeline scripts not automatically being recompiled when Timeline Package Support - Enable was selected. Closes #1326. 2019-05-02 18:54:15 +02:00
Harald Csaszar
25386671b1 [unity] Fixed Timeline scripts not automatically being recompiled when Timeline Package Support - Enable was selected. Closes #1326. 2019-05-02 18:53:06 +02:00
Harald Csaszar
da97eeb62f [unity] Menu section added for old git 3.7 branch menu, for easier consistent git merges later. Timeline support in Unity 2019, see #1326. 2019-05-02 12:45:54 +02:00
Harald Csaszar
b198c9b48d [unity] More robustness changes for asmdef files and Timeline support in Unity 2019, see #1326. 2019-05-02 12:43:58 +02:00
Harald Csaszar
66f5ca29ac [unity] Renamed .asmdef files to .txt files to prevent overwriting important automatic modifications when unpacking newer unitypackages over it. For Timeline support in Unity 2019, see #1326. 2019-05-02 12:43:31 +02:00
Harald Csaszar
cb615007d6 [unity] Added support for Timeline in Unity 2019, using existing components. Please visit Edit-Preferences-Spine to enable Timeline support. Closes #1326. 2019-05-02 12:43:03 +02:00
Harald Csaszar
3c6f8f96e4 [unity] Menu section added for old git 3.7 branch menu, for easier consistent git merges later. Timeline support in Unity 2019, see #1326. 2019-05-02 12:20:34 +02:00
badlogic
7c01654321 [unity] Added missing license headers. 2019-05-02 11:46:52 +02:00