580 Commits

Author SHA1 Message Date
Harald Csaszar
f9bf739498 [unity] Fixed a memory leak in SkeletonPartsRenderer. Closes #2414. 2023-11-13 15:40:35 +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
cc352cf026 [unity] Fixed exception at SkeletonMecanim with UpdateTiming InLateUpdate. Closes #2392. 2023-10-04 19:37:58 +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
c0032b4ffb [unity] Added manual Update(float) method at SkeletonMecanim for updateTiming ManualUpdate. Closes #2389. 2023-10-02 16:49:10 +02:00
Harald Csaszar
9487d3a5f3 [unity] BoneFollowerGraphic does not respect LayoutScaleMode. Closes #2378. 2023-09-21 19:29:41 +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
76e85387d1 [unity] Implemented first experimental preview package version of delayed on-demand loading of Atlas assets. See #1890. 2023-09-08 19:22:08 +02:00
Harald Csaszar
a740fae009 [unity] Fixed compile error of previous commit 238818d on Unity 2017. See #2358. 2023-09-07 13:28:56 +02:00
Harald Csaszar
238818dd13 [unity] Fixed ShaderGraph shaders not displayed at PartsRenderers on Unity 2023.1. Closes #2358. 2023-09-07 13:14:04 +02:00
Harald Csaszar
f44490b1f3 [unity] Fixed compile error on Unity 2017.1 of last commits related to pull request #2351, commit 01273670. 2023-08-28 21:06:50 +02:00
Harald Csaszar
d652f560ce [unity] Fixed compile error on Unity 2019.1 and older of last commits related to pull request #2351, commit 01273670. 2023-08-28 20:19:17 +02:00
Harald Csaszar
cb154ed1ec [unity] Further improved upon pull request #2351, commit 01273670. EditorSkeletonPlayer now provides alternative Fixed Track Time to set a specific frame. 2023-08-28 19:40:13 +02:00
Harald Csaszar
c0db9fb91f [unity] Improved upon pull request #2351, commit 01273670. Coding style adaptations, added robustness and configurability. 2023-08-28 18:57:01 +02:00
SR
1553b95863 Add a component that allows playing the skeleton even in Edit Mode in Unity. 2023-08-28 09:46:56 +09:00
Harald Csaszar
076e4e9e94 [unity] Potential fix for ArgumentOutOfRangeException at SkeletonGraphic.PrepareRendererGameObjects. See #2346. 2023-08-21 18:55:10 +02:00
Harald Csaszar
4239912146 [unity] Added warning when 'CanvasGroup compatible' is enabled at Material and SkeletonGraphic 'PMA Vertex Colors' is incorrectly enabled as well. 2023-08-21 17:50:47 +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
7b37dd5f7b [unity] Fixed disabling SkeletonGraphic outside bounds of RectMask2D displaying SkeletonSubmeshGraphic incorrectly. Closes #2324. 2023-07-19 17:53:07 +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
1fa6c2edbb [unity] Added support for Tint Black at all Spine URP shaders (2D and 3D) and at Spine/Sprite shaders. Closes #1705. 2023-05-31 12:05:43 +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
92440912d2 [unity] Fixed RootMotion components with Rigidbody in parent not supporting position offset. Closes #2284. 2023-05-02 16:40:22 +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
92728548b7 [unity] Minor: refactoring, variable renamed. 2023-04-13 17:59:25 +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
Mario Zechner
7f4f32453b [csharp] Fix formatting. 2023-01-16 14:49:12 +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
01b8c06800 [csharp] Code cleanup: replaced var with explicit type names. 2023-01-10 13:03:56 +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
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
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
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
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
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
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