1608 Commits

Author SHA1 Message Date
Harald Csaszar
9cd38191fc [unity] Added example component SkeletonRenderTextureFadeout and improved example scene and documentation. See #1337. 2022-03-10 17:00:26 +01:00
Harald Csaszar
5ff19ea31c [unity] Added meta file of add spine-csharp here.txt to prevent an error message when using Unity Package Manager and git URL. 2022-03-07 17:57:18 +01:00
Harald Csaszar
b8da2fa27b [unity] Previous commit did not compile on Unity 2017.1 and earlier, fixed. See #1337. 2022-03-02 22:46:03 +01:00
Harald Csaszar
5e8e4c21f1 [unity] Previous commit did not compile on Unity 2019.2 and earlier, fixed. See #1337. 2022-03-02 22:35:11 +01:00
Harald Csaszar
9acc768353 [unity] Added example component SkeletonRenderTexture to render to a render texture. Added fadeout example scene named 'RenderTexture FadeOut Transparency'. Closes #1337. 2022-03-02 22:15:13 +01:00
Harald Csaszar
20c421c1d4 [unity] Fixed changing atlas asset at SkeletonData asset not reloading automatically. Closes #2037. 2022-03-01 19:23:18 +01:00
Harald Csaszar
4cb0f16ae6 [unity] Minor: removed a debug log statement added in commit 299ab8f. 2022-03-01 12:24:03 +01:00
Harald Csaszar
b7f4bbc5e3 [unity] Added missing added changes of previous commit 6a3fb6a. 2022-03-01 11:32:41 +01:00
Harald Csaszar
6a3fb6a42a [unity] Added warnings when Spine Preferences - Texture Atlas Settings PMA and blend mode materials PMA do not match. Added straight alpha blend modes material templates. 2022-02-28 16:14:44 +01:00
Harald Csaszar
299ab8fff8 [unity] Improved memory utilization during build pre- and post processing. 2022-02-24 21:34:05 +01:00
Harald Csaszar
689daa147a [unity] Minor: example script documentation improved (CustomMaterialOverride). 2022-02-21 18:27:37 +01:00
Harald Csaszar
dcb593489b [unity] Unity SpriteAtlas Support: Removed unnecessary material reference to generated editor atlas texture in pre-build step. See #1900. 2022-02-17 11:13:53 +01:00
Harald Csaszar
ece6530b0c [unity] Fixed exception at prefab baking. Closes #2034. 2022-02-16 20:04:02 +01:00
Harald Csaszar
dc2bddd883 [unity] Fixed import issue when suitable atlas found in multiple directories, wrong one could be assigned if named identically. Closes #2033. 2022-02-10 17:04:52 +01:00
Harald Csaszar
6b8c6b31cf [unity] Timeline: Fixed Editor scrubbing preview not showing SkeletonUtilityBone overrides (Update callback based). Closes #2031. 2022-02-07 16:18:44 +01:00
Harald Csaszar
5048034053 [unity] Timeline UPM package documentation updated to latest changes, also on website documentation. 2022-02-04 20:46:25 +01:00
Harald Csaszar
e160380d0e [unity] Minor: made Timeline Track and Clip colors consistent. 2022-02-04 16:01:08 +01:00
Harald Csaszar
431910d660 [unity] Timeline add Track menu naming improvements. Changed clip property Custom Duration to Default Mix Duration (inverted). Improved track appearance in the Timeline window and track Inspector. 2022-02-04 14:38:24 +01:00
Harald Csaszar
5f51705f13 [unity] Fixed Resolve atlases dialog failing to load just created atlas asset. Closes #2024. Fixed an unnecessary exception thrown after aborting skeleton import and adjusting blend mode materials. 2022-01-19 20:21:19 +01:00
Harald Csaszar
9e54dc4faa [unity] Increased version number of Spine URP Shaders UPM package in package.json. 2022-01-18 19:06:47 +01:00
Harald Csaszar
8a30203ab9 [unity] Fixed incorrect normal orientation for lighting in URP 2D shaders. Closes #2023. Fixed compile error of URP/2D/Spine/Sprite shader on Unity 2021.2. Closes #2022. 2022-01-18 19:03:12 +01:00
Harald Csaszar
ae186964a2 [unity] Timeline: Removed editor warning when SpineAnimationStateTrack 'Track Index' is identical at different tracks, different skeleton objects can be targeted. Timeline API prevents a target object check. See commit 7db783c. 2022-01-12 16:01:56 +01:00
Harald Csaszar
1233bce55e [unity] Support fix prefab override via mesh filter global settings. Closes #1938. 2022-01-10 18:21:55 +01:00
Harald Csaszar
7400da8896 [unity] Fixed BoundingBoxFollowerGraphic vertices being 0.0 in some occasions, closes #1999. Problem introduced in commit 506a1ab, see issue #1990. 2021-12-21 13:07:48 +01:00
Harald Csaszar
ceade3f804 [unity] Minor: unified TextureType of all example skeleton atlas textures to Default. Some were set to Sprite (2D and UI) which caused confusion. 2021-12-16 11:22:32 +01:00
Harald Csaszar
a77f9010f3 [unity] minor formatting, format checks failed after commit 193882f. 2021-12-15 17:01:56 +01:00
Harald Csaszar
193882f2c6 [unity] BoneFollower and BoneFollowerGraphic now provide an additional Follow Parent World Scale parameter. 2021-12-15 16:52:14 +01:00
Harald Csaszar
0e2fe5c6c9 [unity] Minor: documentation improvement of SpineAtlasAsset.CreateRuntimeInstance method description. 2021-12-13 17:24:10 +01:00
Harald Csaszar
4b42f23fc4 [unity] Fixed incorrect rendering of OutlineOnly shader in URP with HDR option enabled. Closes #2001. 2021-12-10 16:04:08 +01:00
Harald Csaszar
3025b370f5 [Unity] Fixed MaterialChecks to correctly check for Sprite material settings. Closes pull request #2000. 2021-12-09 18:56:26 +01:00
Harald Csaszar
bb7804ac9e [unity] Fixed root motion components ignoring split translate timelines. Closes #1997. 2021-12-07 19:16:28 +01:00
Harald Csaszar
7db783c660 [unity] Timeline: Added editor warning when SpineAnimationStateTrack 'Track Index' is identical to target 'Track Index' of other track. 2021-11-29 19:36:48 +01:00
Harald Csaszar
9dfd69e49d [unity] Fixed json files starting with array brackets not being detected as json. Closes #1992. 2021-11-24 15:00:13 +01:00
Harald Csaszar
ac9c83f7d7 [unity] Added missing license header to test class. 2021-11-22 19:30:24 +01:00
Harald Csaszar
d1b1e32bbf [unity][csharp] Minor cleanup of last commit. 2021-11-22 19:25:21 +01:00
Harald Csaszar
3b061eaa5f [unity][csharp] Moved automated tests out of the spine-unity Assets directory to a UPM package (to prevent potential compile errors upon incomplete setup). Updated spine-csharp tests to be usable as a UPM package. 2021-11-22 19:12:18 +01:00
Harald Csaszar
506a1abf53 [unity] Fixed extension method VertexAttachment.GetLocalVertices ignoring deform timelines. Closes #1990. 2021-11-15 16:12:11 +01:00
Harald Csaszar
fe635d9a79 [unity] Minor cosmetic: updated GameObject name in example scene according to changed example script name in commit 1517ffcd. 2021-11-11 17:33:03 +01:00
Harald Csaszar
a67fd18293 [unity] Fixed NaN issue when SkeletonGraphic.MatchRectTransform() is called after manual Initialize() without following Update(0). 2021-11-11 15:09:22 +01:00
Harald Csaszar
a182cdb169 [unity] Fixed MeshGenerator not updating triangle indices when inactive bone implicitly clears attachment. Closes #1984. 2021-11-10 19:32:52 +01:00
Harald Csaszar
42142a4561 [unity] Minor importer improvement: Fixed required atlas region list containing duplicates. 2021-11-10 16:29:28 +01:00
Harald Csaszar
1517ffcde4 [unity] Renamed example script DataAssetsFromExportsExample to RuntimeLoadFromExportsExample and performed minor cleanup. 2021-11-10 11:03:23 +01:00
Harald Csaszar
618e20dc9a [Unity] Fixed Initial Flip not updating mesh in Editor mode. Closes #1953. 2021-11-09 20:06:16 +01:00
Harald Csaszar
ead89c9c35 [unity] Fixed a Timeline bug (not pausing) when Don't end at clip end is enabled and PlayableDirector.pause is called. Closes #1980. 2021-11-09 17:39:13 +01:00
Harald Csaszar
d3a2a65513
Merge pull request #1981 from vhristov/fix_1973
[unity] Fix skleton mesh "Identifier uniqueness violation" warning
2021-11-08 18:19:50 +01:00
Harald Csaszar
2c535b65c7 [unity] Fixed SkeletonGraphic RectTransform bounds not being applied at submeshes in match call. Closes #1983. 2021-11-08 17:20:37 +01:00
Vladislav Hristov
9c106ca5f5 Fix skleton mesh "Identifier uniqueness violation" warning
To remove the warning a new unique name is created for each mesh, where
an index is added after the renderer name.

Closes #1973
2021-11-07 14:56:54 +02:00
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
69460f3bd6 [unity] Fixed SkeletonRagdoll2D behaviour being wrong in Unity 2020.3+. Closes #1977. 2021-11-03 19:47:38 +01:00