415 Commits

Author SHA1 Message Date
Harald Csaszar
476fb151dd [unity] Fixed skeleton baking when AttachmentTimeline only contains a single frame. Closes #2272. 2023-04-07 15:33:33 +02:00
Harald Csaszar
80b2246d62 [unity] Fixed compile error on Unity 2017.1 of last commit. See #1640. 2023-03-27 17:55:53 +02:00
Harald Csaszar
78302ac1d8 [unity] Corrected behaviour of SkeletonGraphic edit reference rect when entering/exiting play mode. See #1640. 2023-03-27 17:42:32 +02:00
Harald Csaszar
91cc6ddfaa [unity] SkeletonGraphic now supports automatic scaling based on RectTransform bounds. Closes #1640. 2023-03-24 14:44:40 +01:00
Harald Csaszar
f09f5b73a0 [unity] Fixed texture preset not being applied when more atlas pages are added later. Fixed atlas page count not being updated immediately after change. Closes #2266. 2023-03-13 16:26:30 +01:00
Harald Csaszar
cf68a29da1 [unity] Fixed Apply Regions as Texture Sprite Slices failing when filename contains . before extension. Closes #2246. 2023-02-13 11:12:12 +01:00
Harald Csaszar
bf5d445fa7 [unity] Fixed IndexOutOfRangeException on Unity 2022.2 upon first project import or upgrade. Closes #2241. 2023-02-09 16:55:48 +01:00
Harald Csaszar
be983ac413 [unity] Fixed Atlas source cannot be null! upon jpg import in Unity 2022.2. Closes #2237. 2023-02-08 20:07:08 +01:00
Harald Csaszar
c658453bb5 [unity] Fixed compile error on older Unity versions which contain PackageInfo but not FindForAssetPath. See #2223. 2023-01-11 21:34:11 +01:00
Harald Csaszar
042a6dfd1d [unity] Fixed SpineBuildProcessor potentially trying to modifying a readonly prefab asset. Closes #2223. 2023-01-11 21:26:01 +01:00
Harald Csaszar
01b8c06800 [csharp] Code cleanup: replaced var with explicit type names. 2023-01-10 13:03:56 +01:00
Harald Csaszar
8c3533835a [unity] Fixed blend mode materials not being generated when sequence uses multiple atlas pages. Closes #2201. 2022-11-24 18:22:05 +01:00
Harald Csaszar
ace19d9381 [unity] PMA textures now have sRGB (Color Texture) disabled by default to prevent border artifacts with mipmaps. Closes #2187. 2022-10-27 11:07:19 +02:00
Harald Csaszar
8f01d089e4 [Unity] SkeletonRenderSeparator: Fixed Update When Invisible modes leading to invisible skeleton. Fixed Enable Separator property not triggering component dirty state/undo. Closes #1960. 2022-10-10 16:42:14 +02:00
Harald Csaszar
2b85114d54 [unity] Added Preferences parameter to disable console error when SkeletonDataAsset skeleton data file is none. Finishes code changes to allow copy protection systems. Closes #1794. 2022-09-28 18:46:31 +02:00
Harald Csaszar
eb7bf3a8b3 [unity] Fixed excessive UnloadingUnusedAssetsImmediate during build. Initially created to avoid out of memory exceptions, can now be disabled via preferences. Closes #2160. 2022-09-27 20:38:33 +02:00
Harald Csaszar
81708ebb0d [unity] Call computeWorldVertices before accessing region uvs in SkeletonBaker. Fix only for cosmetic reasons, SkeletonBaker doesn't map sequence functionality to Unity skeletal animation. See #2154. 2022-09-15 11:33:41 +02:00
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
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
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
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
ecf5418a25 [unity] Fixed Exception at SetIconForObject with Unity 2021.2. Closes #2141. 2022-08-25 15:45:19 +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
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
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
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
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
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
cf654d3768 [unity] Minor cleanup. 2022-06-01 16:58:11 +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
4b4e96b788 [unity] Minor import code refactoring, shall not change anything. 2022-05-24 17:17:20 +02:00
Harald Csaszar
f26b12821e Merge branch '4.0' into 4.1-beta 2022-05-24 16:37:15 +02:00
Harald Csaszar
6fc6e090ae [unity] Fixed rare import error that material.mainTexture is null ("Material is missing texture"). 2022-05-24 16:31:58 +02:00
Harald Csaszar
3869519145 Merge branch '4.0' into 4.1-beta 2022-05-09 11:54:27 +02:00
Harald Csaszar
a82b24a649 [unity] Fixed drag and drop code affecting other non-Spine drag and drop events, introduced in commit 29e0e917. See #2077. 2022-05-09 11:50:17 +02:00
Harald Csaszar
1b51bebb8e Merge branch '4.0' into 4.1-beta 2022-05-06 15:23:51 +02:00
Harald Csaszar
29e0e9172b [unity] Fixed drag and drop instantiation for Unity 2021.2 and newer (which provides a new callback method). Closes #2077. 2022-05-06 15:12:14 +02:00
Harald Csaszar
8dc4ee4a6e Merge branch '4.0' into 4.1-beta 2022-05-05 18:24:43 +02:00
Harald Csaszar
362a9fcd20 [unity] Added additional null checks (unlikely to trigger, but added for sake of correctness). 2022-05-05 18:23:21 +02:00
Harald Csaszar
7df6c6e767 Merge branch '4.0' into 4.1-beta 2022-05-05 18:07:27 +02:00
Harald Csaszar
3ad0192912 [unity] Quick fix of last commit was incorrect, sorry, fixed for real now. 2022-05-05 18:04:47 +02:00