1757 Commits

Author SHA1 Message Date
Harald Csaszar
f1cababc9a [unity] Added Preferences setting Reload SkeletonData after Play, disable to avoid the reloading delay after exiting play-mode. 2022-09-14 17:16:10 +02:00
Harald Csaszar
d9935741c2 [unity] Using InteractionMode.AutomatedAction at prefab Revert() call in newer Unity versions. See #1273. 2022-09-09 15:27:10 +02:00
Harald Csaszar
16a1cc9395 [unity] Added Preferences setting Optimize Preview Meshes, disabled by default now to not increase build time every build. Previous behaviour was always-on. See #1273. 2022-09-08 17:43:43 +02:00
Harald Csaszar
e784103de9 [unity] Fixed Sprite pixel-lit shader incorrectly applying secondary lights. Closes #2147. 2022-09-06 17:25:54 +02:00
Harald Csaszar
6da33e5c88 [unity] Multiple Canvas Renderers warnings: Fixed missing warning icon in SkeletonGraphic Inspector due to element width. Added console log statement when instantiating SkeletonGraphic as well. 2022-09-05 15:58:48 +02:00
Harald Csaszar
7a95875ebb [unity] Added a warning when a .skel file is found instead of .skel.bytes during import. 2022-09-02 20:58:42 +02:00
Harald Csaszar
a3e0ab37ed [unity] Added outline shader parameter Advanced - Opaque Alpha which can be used to exclude problematic semi-transparent areas. 2022-09-02 19:56:51 +02:00
Harald Csaszar
2fe26facc7 [unity] Added root motion unit tests and a root motion manual test scene. Rearranged dir structure for both editor and playmode tests. 2022-08-31 20:13:18 +02:00
Harald Csaszar
87e5a84cff [unity] Fixed SkeletonRootMotion 3D rigidbody rotational root-motion. Closes #2143. Added SkeletonRootMotion callback delegates ProcessRootMotionOverride and PhysicsUpdateRootMotionOverride to customize how root motion is applied. 2022-08-30 17:55:38 +02:00
Harald Csaszar
be7b4a46b3 [Unity] Fixed changing Timeline root-Playable speed after clip start having no effect on currently playing animation. Closes #2142. 2022-08-26 16:32:14 +02:00
Harald Csaszar
ecf5418a25 [unity] Fixed Exception at SetIconForObject with Unity 2021.2. Closes #2141. 2022-08-25 15:45:19 +02:00
Harald Csaszar
3d2484697a [unity] Fixed editor OutOfBoundsException at SkeletonGraphic when switching to skin with more vertices while preventing another exception (occurred after fix bd7f7eb1). Closes #2089. 2022-08-19 20:36:32 +02:00
Harald Csaszar
740e4d4164 [unity] Fixed SkeletonRenderTexture ignoring Sorting Order and Sorting Layer ID. Closes #2137. 2022-08-18 11:58:51 +02:00
Harald Csaszar
90c4569596 [unity] Updated license headers which were not yet up to date. 2022-08-18 11:58:51 +02:00
Harald Csaszar
1485bb4708 [unity] Minor cleanup: removed a leftover resolved fixxme line. 2022-08-03 19:16:50 +02:00
Harald Csaszar
10d71afe57 [unity] Minor fix of last commit. 2022-08-02 16:24:24 +02:00
Harald Csaszar
005e714534 [unity] Fixed compile error of previous commit regarding Vector2Int on Unity 2017.1. 2022-08-02 16:19:34 +02:00
Harald Csaszar
6ef7df4be6 [unity] Added example component SkeletonGraphicRenderTexture. Closes #2130. Added additional render callback delegates at SkeletonGraphic. 2022-08-02 16:06:10 +02:00
Harald Csaszar
5fbbc156ac [unity] SkeletonRenderTexture now supports correct arbitrary rotation around all axes simultaneously, while maintaining pixel-perfect projection. Closes #2112. Added base class. 2022-07-28 20:19:11 +02:00
Harald Csaszar
d9c6e048a0 [unity] Fixed Inspector preview skeleton PMA Vertex Color not being enabled for all Spine shaders. Closes #2129. 2022-07-28 18:47:49 +02:00
Harald Csaszar
2b28510acd [unity] Fixed SkeletonGraphic shader flickering on low alpha vertex colors in Linear color space. Closes #2128. 2022-07-27 19:27:11 +02:00
Harald Csaszar
4f4d339c57 [unity] Fixed issues with image sequence import, including custom slot blend modes. Closes #2126, closes #2127. 2022-07-25 19:50:14 +02:00
Harald Csaszar
5bb43d31a5 [unity] Fixed TK2D sprite collection rotated region import. See #2113. 2022-07-20 11:02:04 +02:00
Harald Csaszar
79be6d41a1 [unity] Added remarks to URP example scenes regarding common setup problems. 2022-07-18 17:14:38 +02:00
Harald Csaszar
b79316de81 [unity] Fixed skeleton import and Inspector behaviour of TK2D integration on 4.1. See #2113. 2022-07-18 13:16:14 +02:00
Harald Csaszar
1549cdea5c [unity] Fixed TK2D SpriteCollectionAttachmentLoader compile errors on 4.1. See #2113. 2022-07-14 19:24:37 +02:00
Harald Csaszar
696c723013 [Unity] Now really fixed SkeletonRootMotion out of bounds access when selecting non-default Root Motion Bone with a TransformConstraint. See #2110. 2022-07-13 20:34:17 +02:00
Harald Csaszar
2ef38e4f01 [Unity] Fixed SkeletonRootMotion out of bounds access when selecting non-default Root Motion Bone with a TransformConstraint. Closes #2110. 2022-07-13 12:19:21 +02:00
Harald Csaszar
766105189f [unity] Fixed Sprite.ToAtlasRegion and SpriteAttacher example script ignoring pivot in 4.1. Closes #2109. Issue was introduced in commit 9ecf28b, see #1884. 2022-07-12 14:51:59 +02:00
Harald Csaszar
cffd11a4b3 [unity] Fixed Unity defines, see #2101. 2022-07-01 14:34:33 +02:00
Harald Csaszar
ab28b77c70 [unity] Fixed previous bugfix, Unity defines UNITY_2020_3_OR_NEWER and UNITY_2020_3_16 but not UNITY_2020_3_16_OR_NEWER. See #2101. 2022-06-28 16:32:24 +02:00
Harald Csaszar
0a32573581 [unity] Fixed compile error due to not all 2020.3 and 2021.1 versions having SaveAssetIfDirty. Closes #2101. 2022-06-28 15:57:04 +02:00
Harald Csaszar
845cc33895 Merge branch '4.0' into 4.1-beta 2022-06-27 14:06:22 +02:00
Harald Csaszar
6e659dc08b [unity] SkeletonGraphic did not expose UI base class MaskableGraphic Maskable property. 2022-06-27 14:03:12 +02:00
Harald Csaszar
61a09fd650 [unity] Fixed URP Sprite shader not receiving secondary light shadows. Closes #2098. 2022-06-23 17:25:02 +02:00
Harald Csaszar
1ed52764b3 Merge branch '4.0' into 4.1-beta 2022-06-13 16:27:46 +02:00
Harald Csaszar
e39f74837a [unity] Fixed UPM package Index out of bounds exception in editor code. Closes #2095. 2022-06-13 16:26:12 +02:00
Harald Csaszar
f48e32b70c Merge branch '4.0' into 4.1-beta 2022-06-09 18:14:07 +02:00
Harald Csaszar
0c286734a7 [unity] Fixed build crashing on Unity 2022.1.3 on PostprocessSpinePrefabMeshes() calling AssetDatabase.SaveAssets(). Closes #2093. 2022-06-09 18:07:15 +02:00
Harald Csaszar
c47655f01d [unity] Updated UPM package documentation and image to added track property Unscaled Time of previous commit. 2022-06-01 20:05:10 +02:00
Harald Csaszar
6bf587057f [unity] Fixed Timeline SkeletonGraphic clip exception when DefaultMixDuration is disabled. Closes #2090. Same bugfix as in commit d796131 on 4.1-beta branch. 2022-06-01 19:38:21 +02:00
Harald Csaszar
a7486aec63 [unity] Increased UPM Spine Timeline package version for last commit. 2022-06-01 19:29:30 +02:00
Harald Csaszar
d796131668 [unity] Fixed Timeline SkeletonGraphic clip exception when DefaultMixDuration is disabled. Closes #2090. Added Unscaled Time property at Spine Timeline tracks. 2022-06-01 19:26:55 +02:00
Harald Csaszar
cf654d3768 [unity] Minor cleanup. 2022-06-01 16:58:11 +02:00
Harald Csaszar
bd7f7eb181 [unity] Fixed Editor OutOfBoundsException at SkeletonGraphic when switching to skin with more vertices. Closes #2089. 2022-05-31 19:31:58 +02:00
Harald Csaszar
fa9e033adb [unity] Fixed a compile error on older Unity (mono) versions introduced in commit 9427732. 2022-05-31 18:48:19 +02:00
Harald Csaszar
c0901ba302 [unity] Added OnAnimationRebuild callback delegate to skeleton components, called after animation state has been initialized. Breaking: SkeletonGraphic.OnRebuild is now called after skeleton is initialized, but before initializing animation state. 2022-05-31 18:37:30 +02:00
Harald Csaszar
9427732038 [unity] Added UnscaledTime property at SkeletonAnimation, behaving like SkeletonGraphic.UnscaledTime. 2022-05-30 20:58:25 +02:00
Harald Csaszar
edc941edf9 Merge branch '4.0' into 4.1-beta 2022-05-25 19:45:59 +02:00
Harald Csaszar
d257c49cdb [unity] Increased compatible Unity version to 2022.1. 2022-05-25 19:44:13 +02:00