1592 Commits

Author SHA1 Message Date
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
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
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
bfce11f043 [unity] Minor cleanup of commit 60e67017. See #1316. 2021-07-27 17:25:30 +02:00
Harald Csaszar
6c24aceab3 [unity] Fixed compile error for older Unity versions introduced by last commit 60e67017. See #1316. 2021-07-27 17:21:06 +02:00
Harald Csaszar
60e67017e6 [unity] Added SkeletonGraphic blend modes support including new shaders and materials (Advanced - Multiple CanvasRenderers must be enabled). Closes #1316. 2021-07-27 17:03:40 +02:00
Harald Csaszar
2b3d395e51 [unity] Removed limitation of not importing assets from the Packages directory which caused problems on Unity 2019.1, but no longer on 2019.4. Closes #1924. 2021-07-14 12:36:51 +02:00
Harald Csaszar
43565f197d [unity] Fixed incorrect rendering when CanvasGroup compatible is enabled on SkeletonGraphic TintBlack shader. Closes #1908. 2021-07-09 18:36:10 +02:00
Harald Csaszar
20aebce749 Merge branch '3.8' into 4.0 2021-07-06 12:14:15 +02:00
Harald Csaszar
d1749f8aa8 [unity] Fixed potential null reference exception upon access in Start if Reload Scene is disabled. Closes #1919. 2021-07-06 12:13:19 +02:00
Harald Csaszar
11077589c3 [unity] Fixed Update when invisible: mesh and mesh bounds were not always initialized when starting off-screen. Closes #1911. 2021-07-05 21:23:37 +02:00
Harald Csaszar
490ca753c9 Merge branch '3.8' into 4.0 2021-07-02 17:46:26 +02:00
Harald Csaszar
52ecc9349c [unity] Fixed Timeline and AnimationReferenceAsset in general not updating animations after skeleton asset updated. Closes #1915. 2021-07-02 17:44:30 +02:00
Harald Csaszar
ea991a6324 Merge branch '3.8' into 4.0 2021-06-23 20:33:39 +02:00
Harald Csaszar
b3f76c4e54 [unity] Fixed SkeletonGraphic Update When Invisible not working. Now it uses onCullStateChanged, which can be used with RectMask2D. Closes #1910. 2021-06-23 20:30:33 +02:00
Harald Csaszar
214c778bac [unity] Fixed white image at first frame when using multiple canvas renderers. Replaced RawImage at additional SkeletonGraphic renderers with more resource friendly custom component. 2021-06-17 18:58:52 +02:00
Harald Csaszar
dbec33e556 [unity] Minor cleanup: removed two comments mentioning methods that no longer exist after 4.0 API cleanup. 2021-06-14 18:57:38 +02:00
Harald Csaszar
538245fcda [unity] Fix for UpdateWhenInvisible issue introduced in commit 5cb54bd. Closes #1897. See #1883. 2021-06-01 17:23:36 +02:00
Harald Csaszar
9e9445199a [unity] Fix for UpdateWhenInvisible issue introduced in commit 5cb54bd. Closes #1897. See #1883. 2021-06-01 17:16:27 +02:00
Harald Csaszar
87b6810675 [unity] Fixed compile error introduced by commit 963da75 (moved Search() method between classes). 2021-05-31 11:43:14 +02:00
Harald Csaszar
7b1469c32b [csharp] Ported commit 4f73fbb, "Fixed applying a constraint reverting changes from other constraints.", see #1896. 2021-05-27 18:35:52 +02:00
Harald Csaszar
bb239c326e Merge branch '3.8' into 4.0-beta 2021-05-25 17:25:58 +02:00
Harald Csaszar
fab2b6e4ce [unity] Hopefully fixed Spine Preferences textureSettingsReference setting changing between MacOS and Win. See #1895. 2021-05-25 17:22:08 +02:00
Harald Csaszar
f0f52da3ad [unity] Fixed too high Mesh vertex count when multiple submeshes are used (in combination with clipping). Supported on Unity 2019.3+. Closes #1894. 2021-05-20 19:29:56 +02:00
Harald Csaszar
49926fc32a Merge branch '3.8' into 4.0-beta 2021-05-19 17:57:50 +02:00
Harald Csaszar
844c614a8c [unity] Fixed error message on entering Play mode when AnimationReferenceAsset selected. Closes #1892. Fixed NullReferenceException from SkeletonDataPreview timeline bar on entering Play mode. Closes #1893. 2021-05-19 17:54:50 +02:00
Harald Csaszar
68b862c4d8 [unity] Minor: Updated documentation and example scene scripts regarding GetRepackedSkin, GetRepackedAttachments and GetRemappedClone to describe texture cache and cleanup. 2021-05-17 20:52:19 +02:00