79 Commits

Author SHA1 Message Date
Harald Csaszar
c36f847319 [unity] SkeletonGraphic: re-joined Rebuild and MeshUpdate to fix IndexOutOfRangeException. Closes #2487. 2024-03-19 16:14:22 +01:00
Harald Csaszar
3167747d73 [unity] Fixed SkeletonGraphic Invalid AABB when instantiating in editor with no active attachments via drag and drop. Closes #2486. 2024-03-18 17:16:40 +01:00
Harald Csaszar
dd81e4b062 [unity] Fixed SkeletonGraphic newly added SkeletonSubmeshGraphic having wrong offset. Closes #2433. 2023-12-12 13:39:47 +01:00
Harald Csaszar
3172475cd6 [unity] Fixed SkeletonGraphic.MatchRectTransformWithBounds setting referenceSize. Closes #2408. 2023-11-02 21:19:47 +01:00
Harald Csaszar
ca06a5a7f6 [unity] Minor: formatting fixes. 2023-10-06 19:18:45 +02:00
Harald Csaszar
8bc1201b83 [unity] On-demand loading of Atlas Textures now supports SkeletonGraphic. Added method RequestLoadTexture and TextureRequested delegate to OnDemandTextureLoader. Fixed missing loader asset name suffix. See #1890. 2023-10-06 18:35:32 +02:00
Harald Csaszar
209acdc892 [unity] Added UpdateTiming mode In Late Update for all animated skeleton components. 2023-10-03 17:17:37 +02:00
Harald Csaszar
97e3dd4134 [unity] Fixed exception when separation leads to empty mesh with no material at SkeletonGraphic. Closes #2364. 2023-09-14 15:24:42 +02:00
Harald Csaszar
076e4e9e94 [unity] Potential fix for ArgumentOutOfRangeException at SkeletonGraphic.PrepareRendererGameObjects. See #2346. 2023-08-21 18:55:10 +02:00
Mario Zechner
4047f1ba07 Updated license headers. 2023-07-31 13:29:16 +02:00
Harald Csaszar
8900377a89 [unity] Improved robustness of SkeletonGraphic regarding deleting submesh renderer objects and enabling/disabling render separation. 2023-07-19 18:06:47 +02:00
Harald Csaszar
ad614dc5ab [unity] Added updateSeparatorPartScale property to SkeletonGraphic to let render separator parts follow scale. 2023-06-14 15:56:32 +02:00
Harald Csaszar
cbe0e5433a [unity] Added SkeletonGraphic.MeshScale property to allow access to calculated mesh scale. 2023-06-13 17:11:33 +02:00
Harald Csaszar
2d9bdb0ec3 [unity] Fixed scene preview conflict between Timeline and SkeletonAnimation animation. Closes #2307. 2023-06-09 19:07:06 +02:00
Harald Csaszar
72e4c2915f [unity] Fixed NullReferenceException when SkeletonGraphic SkeletonDataAsset is null. Closes #2294. 2023-05-26 12:20:46 +02:00
Harald Csaszar
7883f0fafd [unity] Fixed NullReferenceException upon SkeletonGraphic drag&drop instantiation. Closes #2292. 2023-05-16 14:06:31 +02:00
Harald Csaszar
245ff29b26 [unity] Minor: whitespace fix to please automatic checks. 2023-04-13 18:14:37 +02:00
Harald Csaszar
a09ec88b16 [unity] Fixed compile error on old Unity version 2017.1, introduced by commit 7d0833f. See #2275. 2023-04-13 18:08:09 +02:00
Harald Csaszar
7d0833f881 [unity] Fixed SkeletonGraphic exception when Attachment changed after SkeletonGraphic.LateUpdate. Closes #2275. 2023-04-13 17:59:25 +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
25b8310bea [unity] Fixed a compile error on Unity 2017.1 introduced by previous commit 91cc6dd. See #1640. 2023-03-24 15:00:26 +01:00
Harald Csaszar
e7457546b0 [unity] Minor: whitespace correction of previous commit. 2023-03-24 14:51:24 +01: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
01b8c06800 [csharp] Code cleanup: replaced var with explicit type names. 2023-01-10 13:03:56 +01: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
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
1485bb4708 [unity] Minor cleanup: removed a leftover resolved fixxme line. 2022-08-03 19:16:50 +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
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
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
156ef80a9c [unity] Setting SkeletonGraphic CanvasRenderer.cullTransparentMesh to false at new instances to avoid Add blend mode problems. 2022-04-08 11:18:50 +02:00
Harald Csaszar
c5df7b7bdb [unity] Fixed SkeletonGraphic unnecessary redundant mesh update at color change. Changed update code to use SetVerticesDirty and Rebuild. Closes #2049. 2022-03-25 15:19:52 +01:00
Mario Zechner
78e8f637bb Merge branch '4.0' into 4.1-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-03-21 19:32:37 +01:00
Harald Csaszar
ec53964603 [unity] Hopefully fixed some occurrances of a build crash when building many prefabs and textures. See #2047. 2022-03-18 15:44:34 +01:00
Harald Csaszar
3289550eb0 [unity] Added skeleton component Inspector parameter Advanced - Animation Update with modes In Update, In FixedUpdate and Manual Update. Added SkeletonRootMotion properties PreviousRigidbodyRootMotion and AdditionalRigidbody2DMovement. 2022-02-09 12:22:02 +01:00
Harald Csaszar
da6016cf07 Merge branch '4.0' into 4.1-beta, fixed conflict. 2021-11-15 16:20:06 +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
8a83d9aabe Merge branch '4.0' into 4.1-beta 2021-11-08 18:23:05 +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
Harald Csaszar
3250e74e26 [csharp][unity] Port sequence attachment. See #1956. Also port of other 4.1-beta branch changes compared to 4.0. 2021-11-03 15:26:22 +01:00
Mario Zechner
e6aefc1065 Merge branch '4.0' into 4.1-beta 2021-10-11 16:00:23 +02:00
Harald Csaszar
39dfca8263 [Unity] Fixed Update When Invisible mode causing strange Event timing. Closes #1954. 2021-09-29 19:32:48 +02:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Harald Csaszar
91f7969cdc [csharp][unity] Adjusted spine-csharp and dependent modules to being used as separate UPM packages. See #1676. 2021-09-14 17:12:50 +02:00
Harald Csaszar
6cd3e54b83 [unity] Fixed SkeletonGraphic with Multiple Canvas Renderers ignoring Mask when CustomMaterialOverride or blend modes are active. Closes #1948. 2021-08-31 17:52:20 +02:00
Mario Zechner
d12b15ca8d [csharp] Format all source code using formatters/.editorconfig 2021-08-18 18:59:53 +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
20aebce749 Merge branch '3.8' into 4.0 2021-07-06 12:14:15 +02:00