• 中文
  • Unity中使用SkeletonGraphic Raycast Target 无效

  • Изменено
Related Discussions
...

Unity中使用SkeletonGraphic Raycast Target 无效 还有下面的Match RectTransrom 有什么用啊 是要结合着使用吗

您使用的是哪个 Spine Runtime 版本? 最近有一个与光线投射和匹配矩形变换相关的修复:EsotericSoftware/spine-runtimesa67fd18

What Spine Runtimes version are you using? There was a recent fix related to raycasting and matching the rect transform: https://github.com/EsotericSoftware/spine-runtimes/commit/a67fd18293b1ac30f706089241b96d637bf34ef91

Package version: spine-unity-4.0-2021-08-16.unitypackage
你好 我使用的是这个版本 是需要升级版本吗

是的,请升级到最新的 4.0 软件包。
Yes, please upgrade to the latest 4.0 package.

你好 我升级到 4.0.56 raycast target 还是无效 我有一个全屏的spine动作 他在播放的时候 下面的 按钮还是可以响应点击

对不起,在那种情况下,我不太清楚可能出了什么问题。 我们的 Unity 专家 Harri 目前正在休假。 他回来后会回复你的。
I'm sorry, in that case I don't quite know what could be wrong. Our Unity expert Harri is currently on vacation. He'll respond to you once he is back.

好的,谢谢

12 дней спустя
qq497547369 написал

你好 我升级到 4.0.56 raycast target 还是无效 我有一个全屏的spine动作 他在播放的时候 下面的 按钮还是可以响应点击

这么晚才回复很抱歉。

在这里,您提到了 Spine Editor 版本。 您是否也升级了 spin-unity 运行时包?

此外,您可能需要在 SkeletonGraphic 组件检查器的 Advanced 部分中点击 Match Rect Transform with Mesh Match 按钮一次:
spine-unity Runtime Documentation: Parameters
然后,您应该会在 Scene 视图中看到 RectTransform 边界正在调整为当前网格。


Sorry for the late reply.

Here you are mentioning the Spine Editor version. Did you upgrade the spine-unity runtime package as well?

Also, you might need to hit the Match Rect Transform with Mesh Match button in the Advanced section of the SkeletonGraphic component Inspector once:
spine-unity Runtime Documentation: Parameters
Then you should see the RectTransform bounds being adjusted to the current mesh in the Scene view.