1432 Commits

Author SHA1 Message Date
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
Harald Csaszar
01b436b4f9 [unity] Minor: Updated documentation and example scene scripts regarding GetRepackedSkin, GetRepackedAttachments and GetRemappedClone to describe texture cache and cleanup. 2021-05-17 19:59:51 +02:00
Harald Csaszar
af159db63a Merge branch '3.8' into 4.0-beta 2021-05-14 18:05:01 +02:00
Harald Csaszar
c950dff9aa [unity] Fixed blend mode materials not being generated upon first import. Closes #1891. 2021-05-14 18:04:01 +02:00
Harald Csaszar
7ee6b78da6 Merge branch '3.8' into 4.0-beta 2021-05-07 20:51:16 +02:00
Harald Csaszar
938a8c8369 [unity] Fixed SkeletonGraphic Mesh memory leak. Closes #1887. 2021-05-07 20:50:01 +02:00
Harald Csaszar
40836e1917 [unity] Attachment.GetRemappedClone(Sprite) method now provides an additional optional parameter useOriginalRegionScale. 2021-04-30 18:06:14 +02:00
Harald Csaszar
5cb54bdf9c [unity] Fixed UpdateMode when invisible not being used when instantiated off-screen. Closes #1883. 2021-04-30 18:06:14 +02:00
Harald Csaszar
5231b4f713 [unity] Prevent null reference exception when using Advanced - Fix Draw Order and disabling the renderer and/or GameObject. 2021-04-30 18:06:14 +02:00
Harald Csaszar
700e316e57 [unity] Attachment.GetRemappedClone(Sprite) method now provides an additional optional parameter useOriginalRegionScale. 2021-04-30 18:02:37 +02:00
Harald Csaszar
25d7f8266f [unity] Fixed UpdateMode when invisible not being used when instantiated off-screen. Closes #1883. 2021-04-28 19:54:48 +02:00