147 Commits

Author SHA1 Message Date
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
badlogic
09130b15df Merge branch '3.7' into 3.8-beta 2019-05-02 11:43:36 +02:00
badlogic
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02:00
Harald Csaszar
d9962bfb09 [unity] More robustness changes for asmdef files and Timeline support in Unity 2019, see #1326. 2019-04-30 19:58:00 +02:00
Harald Csaszar
c6fa814c6d [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-04-30 18:36:47 +02:00
Harald Csaszar
0d2ab87816 [unity] Added support for Timeline in Unity 2019, using existing components. Please visit Edit-Preferences-Spine to enable Timeline support. Closes #1326. 2019-04-30 18:10:48 +02:00
Harald Csaszar
d4829f014f [unity] Fixed casting exception when use custom atlas asset. Closes #1342. 2019-04-29 17:54:51 +02:00
Harald Csaszar
cd703b38cf [unity] Fixed casting exception when use custom atlas asset. Closes #1342. 2019-04-29 17:54:25 +02:00
Harald Csaszar
a180194c0a [unity] Saving Spine - Preferences in EditorPrefs too for consistency, used when first creating SpineSettings.asset in a new project. See 1336. 2019-04-27 09:58:08 +02:00
Harald Csaszar
bb52cce293 [unity] Automatically copying previous Spine - Preferences settings over to SpineSettings.asset at first creation. See 1336. 2019-04-26 19:21:49 +02:00
Harald Csaszar
bd69b9bc38 [unity] Now using SettingsProvider for Preferences - Spine menu. This stores Spine settings in Assets/Editor/SpineSettings.asset which can be shared with team members. Fixes a warning. Closes #1336. 2019-04-26 18:42:04 +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
58e495ecae [unity] Fixed unnecessary updates in editor when SkeletonRenderer is selected. Closes #1339. 2019-04-25 16:37:31 +02:00
Harald Csaszar
e09ea0b212 [unity] Fixed unnecessary updates in editor when SkeletonRenderer is selected. Closes #1339. 2019-04-25 16:35:11 +02:00
Harald Csaszar
4ff249fa30 [unity] Removed 2 of 3 warnings in Unity 2019.1. See #1336. 2019-04-22 22:13:44 +02:00
Harald Csaszar
ee3655f4d3 [unity] Removed 2 of 3 warnings in Unity 2019.1. See #1336. 2019-04-22 22:09:23 +02:00
Harald Csaszar
bf93b00e6b [unity] Fixed SkeletonDataAsset auto-update mechanism on .json file change for both scene view and inspector. Closes #1330. 2019-04-18 19:53:55 +02:00
Harald Csaszar
14a98545a1 [unity] Fixed SkeletonDataAsset auto-update mechanism on .json file change for both scene view and inspector. Closes #1330. 2019-04-18 19:53:03 +02:00
Harald Csaszar
356fb38442 [unity] Fixed broken inspector preview in Unity7 2019. Closes #1331. 2019-04-17 18:10:01 +02:00