1887 Commits

Author SHA1 Message Date
Harald Csaszar
49946783de Merge branch '4.1' into 4.2-beta 2023-02-09 17:12:40 +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
a8e6552b81 [unity] OnPostProcessVertices callback now provides access to uv2 and uv3 buffers. Closes #2230. 2023-01-25 19:25:35 +01:00
Mario Zechner
ba71af746b Merge branch '4.1' into 4.2-beta 2023-01-16 14:57:11 +01:00
Mario Zechner
7f4f32453b [csharp] Fix formatting. 2023-01-16 14:49:12 +01:00
Mario Zechner
1891d00025 Merge branch '4.1' into 4.2-beta 2023-01-16 14:00:14 +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
7b4dd81fb7 Merge branch '4.1' into 4.2-beta 2023-01-11 11:50:24 +01:00
Harald Csaszar
07b54ee18e [unity] Build compile error after commit 01b8c06 due to unguarded using UnityEditor.namespace. Closes #2222. 2023-01-11 11:48:10 +01:00
Harald Csaszar
7de6140875 Merge branch '4.1' into 4.2-beta 2023-01-10 13:21:46 +01:00
Harald Csaszar
01b8c06800 [csharp] Code cleanup: replaced var with explicit type names. 2023-01-10 13:03:56 +01:00
Harald Csaszar
b693802311 Merge branch '4.1' into 4.2-beta 2022-12-14 17:45:18 +01:00
Harald Csaszar
1552fc843a [unity] Fixed blend mode shaders being broken on Unity 2017. Closes #2212. 2022-12-13 18:44:17 +01:00
Mario Zechner
d878e5356b Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2022-11-28 09:12:49 +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
8fb3876396 [unity] Added warning message when 'CanvasGroup Compatible' is enabled at the Material but 'Canvas Group Tint Black' is disabled at SkeletonGraphic. 2022-11-16 12:24:32 +01:00
Harald Csaszar
31dc558d66 Merge branch '4.1' into 4.2-beta 2022-11-03 16:09:39 +01:00
Harald Csaszar
bb851ee489 [unity] Fixed incorrectly repacked MeshAttachment regions when rotated 270 degrees. Closes #2181. 2022-11-03 16:08:08 +01:00
Harald Csaszar
4e5fed4251 [unity] Added default material for Spine/SkeletonGraphic Fill shader added in previous commit 0a6a696. 2022-11-02 14:21:56 +01:00
Harald Csaszar
48d372bef3 Merge branch '4.1' into 4.2-beta 2022-10-31 10:25:02 +01:00
Harald Csaszar
0a6a6962c7 [unity] Added Spine/SkeletonGraphic Fill shader to provide functionality of Spine/Skeleton Fill shader for SkeletonGraphic. 2022-10-31 10:21:02 +01:00
Harald Csaszar
661796d2cb [unity] SkeletonRenderTexture components now support automatic down-scaling when required size on screen exceeds max render texture size. 2022-10-28 16:09:45 +02:00
Harald Csaszar
0865f94c06 [unity] Changed sample Skeleton PMA texture settings, having sRGB (Color Texture) disabled to follow new default. See #2187. 2022-10-27 14:30:26 +02: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
9d6afa1853 [unity] Added SkeletonAnimationMulti methods SetActiveSkeleton(int index) and getter property SkeletonAnimations, some code cleanup. 2022-10-04 13:20:35 +02:00
Harald Csaszar
114852b15c [unity] Fixed SkeletonMecanim incorrect looping playback of reversed non-looping clip. Closes #2165. 2022-09-30 14:10:04 +02:00
Harald Csaszar
7e440c28ae [unity] Moved common Spine/Blend shader functionality to shared include files. Closes #1721. 2022-09-28 21:01:59 +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
4a0dabe4c3 [unity] Fixed SkeletonGraphic.SkeletonData vs .Skeleton.Data inconsistent behaviour, now both call Initialize(false). Closes #2161. 2022-09-27 17:03:59 +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
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
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
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