2118 Commits

Author SHA1 Message Date
Harald Csaszar
c94cad7403 [unity] Minor: formatting fixes. 2021-11-03 20:03:49 +01:00
Harald Csaszar
e11dea1497 [unity] Minor refactoring: renamed a preprocessor constant. 2021-11-03 19:57:14 +01:00
Harald Csaszar
f2cf39cfb6 Merge branch '4.0' into 4.1-beta 2021-11-03 19:52:46 +01:00
Harald Csaszar
69460f3bd6 [unity] Fixed SkeletonRagdoll2D behaviour being wrong in Unity 2020.3+. Closes #1977. 2021-11-03 19:47:38 +01:00
Harald Csaszar
df3ec19252 [csharp][unity] Fixed formatting of previous commit 3250e74 "Port sequence attachment." See #1956. 2021-11-03 15:38:41 +01:00
Harald Csaszar
3250e74e26 [csharp][unity] Port sequence attachment. See #1956. Also port of other 4.1-beta branch changes compared to 4.0. 2021-11-03 15:26:22 +01:00
Harald Csaszar
dfa52de90d [unity] Fixed URP shader compile error at Unity 2021.2 (with URP 12.0 and newer). Closes #1912. Added commented-out include references to spine-core include files using package name, to be used when spine-unity is used via UPM package. 2021-10-29 16:16:12 +02:00
Harald Csaszar
5052b727de [unity] Removed unnecessary URP shader variants that lead to very high compile time. Closes #1974. 2021-10-29 13:20:45 +02:00
Harald Csaszar
4b70b1489c [unity] Fixed IAnimationStateComponent missing (destroyed) component exception due to interface null check instead of using overloaded UnityEngine.Object.operator==. Closes #1972.
IAnimationStateComponent throws exception due to interface null check #1972
2021-10-27 18:06:37 +02:00
badlogic
ecbe087227 Merge branch '4.0' into 4.1-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/spine-threejs/package.json
2021-10-20 00:10:54 +02:00
Mario Zechner
e87757ef57 Update version strings to 4.1(.xx) 2021-10-14 00:47:13 +02:00
Harald Csaszar
947da83533 [unity] Increased package version number of last commit's changes. See #1967, commit 43e8000. 2021-10-12 12:50:02 +02:00
Harald Csaszar
43e8000c80 [unity] Fixed URP Sprite shader ignoring Fixed normal in some settings. Closes #1967. Fixed a warning. 2021-10-12 12:48:49 +02:00
Harald Csaszar
5937b3021b [unity] Fixed Timeline clip not updating to the shown EaseIn & MixerBehaviour when inside Play mode. Added null check. Closes #1962. 2021-10-11 18:25:22 +02:00
Mario Zechner
e6aefc1065 Merge branch '4.0' into 4.1-beta 2021-10-11 16:00:23 +02:00
Harald Csaszar
555c124a44 [unity] Updated second package.json file version number as well. See commit 38a42e41. See #1961. 2021-10-06 20:34:29 +02:00
Harald Csaszar
38a42e41c6 [unity] Fixed Timeline clip EaseIn from empty animation or blank space. Closes #1961. 2021-10-06 20:30:58 +02:00
Harald Csaszar
5142ecc9ca [unity] Minor: whitespace changes to please formatting checks. 2021-09-29 21:34:21 +02:00
Harald Csaszar
8ea166b331 [unity] Fixed json vs binary file detection. 2021-09-29 21:10:58 +02:00
Harald Csaszar
39dfca8263 [Unity] Fixed Update When Invisible mode causing strange Event timing. Closes #1954. 2021-09-29 19:32:48 +02:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Harald Csaszar
7f5e7c3bfc [unity] Prepared MeshGenerator class for creating subclasses. 2021-09-17 20:38:55 +02:00
Harald Csaszar
b235b42175 [unity] Added a second package.json for timeline UPM package for use with spine-unity via unitypackage instead of UPM dependencies. See #1676. 2021-09-17 18:26:22 +02:00
Harald Csaszar
4785dcc212 [unity] Fixed null reference exceptions after changes from compile-error bugfix commit 8770e319, see #1951. 2021-09-15 18:25:12 +02:00
Harald Csaszar
cd8064774f [csharp][unity] Cleanup refactoring of TranslateTimeline.Evaluate code, see previous commit 91f7969c. See #1676. 2021-09-15 16:30:43 +02:00
Harald Csaszar
91f7969cdc [csharp][unity] Adjusted spine-csharp and dependent modules to being used as separate UPM packages. See #1676. 2021-09-14 17:12:50 +02:00
Mario Zechner
67c0d39eab [runtimes] Fixed owl example project, export and runtime scripts
The owl example project was not keying the control bone, leading to incorrect additive blending. The export.sh and runtimes.sh script in example/export did not account for the folder structure change in spine-ts.
2021-09-14 00:02:04 +02:00
Harald Csaszar
8770e319c5 [unity] Fixed compile errors introduced by removed FindSlotIndex and FindBoneIndex methods. See commit dc9a6eb, see #1951. 2021-09-13 17:04:23 +02:00
Harald Csaszar
83b50f265e [unity] Added missing usedByEffector and usedByComposite parameters at BoundingBoxFollower components. 2021-09-07 15:32:17 +02:00
Harald Csaszar
019f325c4d [unity] Increased officially compatible Unity version to 2021.1. 2021-09-01 18:54:30 +02:00
Harald Csaszar
6cd3e54b83 [unity] Fixed SkeletonGraphic with Multiple Canvas Renderers ignoring Mask when CustomMaterialOverride or blend modes are active. Closes #1948. 2021-08-31 17:52:20 +02:00
Harald Csaszar
d6df0725a2 [unity] Added null-check at AnimationReferenceAsset. 2021-08-31 17:03:20 +02:00
Mario Zechner
6a93555805 Remove BOMs 2021-08-18 20:51:17 +02:00
Mario Zechner
d12b15ca8d [csharp] Format all source code using formatters/.editorconfig 2021-08-18 18:59:53 +02:00
Harald Csaszar
577f280258 [csharp] Minor cleanup: Removed empty file CustomSkin.cs, changed comments to not make formatter indent blocks in undesired way. 2021-08-18 16:42:51 +02:00
Harald Csaszar
32449a3b4d [unity] SkeletonRootMotion component now offers a paramter to apply Rigidbody2D gravity. Defaults to false to keep existing behaviour. Closes #1941. 2021-08-16 18:17:19 +02:00
Harald Csaszar
d316e30a5c [unity] Fixed missing Blend Modes example scene assets (SkeletonGraphic blend mode materials). 2021-08-13 17:53:19 +02:00
Harald Csaszar
326e4f8b01 [unity] Fixed a null reference exception in AnimationReferenceAsset inspector code when SkeletonData at the asset is null (e.g. when no json file is assigned). 2021-08-12 17:28:15 +02:00
Harald Csaszar
88b893dd9e [unity] Fixed a compile error (ObjectOverride.Revert()) on some Unity versions after merging pull request, see #1939, see commit 5fd4494e. 2021-08-12 12:03:03 +02:00
Harald Csaszar
57dadbdd81 [unity] Minor improvement (added #if UNITY_EDITOR) after merging pull request, see #1939, see commit 5fd4494e. 2021-08-12 11:35:29 +02:00
park.saerom
0a73ce902c add null check 2021-08-11 18:10:23 +09:00
park.saerom
5fd4494ea2 Fix multiple nested prefab override issue.
Related to #1273.
2021-08-11 15:36:41 +09:00
Harald Csaszar
b8ec11f20e [unity] Added another null check. See #1273, #1931. 2021-08-09 15:42:24 +02:00
Harald Csaszar
e321488949 [unity] Fixes a warning when re-importing a prefab (introduced by commit 4a9f7b8a). Added a null check. See #1273, #1931. 2021-08-06 16:48:51 +02:00
Vladislav Hristov
4a9f7b8a7b [unity] Implement build preprocessor for prefabs cleanup
With the new prefab processing there is an issue where the mesh tries to
get into the build. To prevent this a build pre/post process is
introduced that will clean up the prefab from the meshes before the
build and restore the prefab meshes after the build.

This change reverts bf70a62f1 and is related to #1273,#1931.
2021-08-06 11:29:01 +03:00
Harald Csaszar
bf70a62f1b [unity] Fixed a build error when prefab is referenced. See commit c2cbdc57. See #1273,#1931. 2021-08-05 17:20:55 +02:00
Nathan Sweet
7d6cdcd9d8 Applied oxipng. 2021-08-04 18:44:16 -04:00
Harald Csaszar
c2cbdc57b7 [unity] Support for prefab preview thumbnails. See #1931. Fixes prefab instance always listing MeshFilter as changed (via parameter Advanced - Fix Prefab Override MeshFilter, see changelog). Closes #1273. 2021-08-04 20:18:37 +02:00
Harald Csaszar
32165703b9 [unity] Timeline: Fixed Inspector cutting off last three parameters. Updated documentation and package version for commit a7752095. See #1933, see #1807. 2021-08-03 19:45:43 +02:00
Harald Csaszar
a775209577 [unity] Timeline clip end behaviour made more consistent and configurable, mixes out to empty animation by default. Partially reverted b4fd09b6. See #1933. Closes #1807. 2021-08-03 18:29:53 +02:00