我的动画文件在unity的UGUI中中看上去就像是没有混合模式的情况一样
Unity:2019.4.40f1
Spine Runtime:spine-unity 3.8 for Unity 2017.1-2020.3
Unity的UGUI不支持Spine的Blend Mode吗
在Unity的UGUI中,spine-unity 3.8版本确实不支持多种混合模式。根据你提供的信息和截图,问题可能是由于你使用的spine-unity 3.8版本不支持在SkeletonGraphic
组件中使用多种混合模式。这个功能是在spine-unity 4.0及更高版本中才引入的。
你可以尝试以下解决方案:
- 升级到spine-unity 4.0或更高版本:这将允许你在
SkeletonGraphic
组件中使用多种混合模式。 - 使用
SkeletonAnimation
组件:如果你不需要在UI中使用Spine动画,可以考虑使用SkeletonAnimation
组件,它支持多种混合模式。
你可以参考以下链接了解更多信息:
希望这些信息能帮助你解决问题。
这是动画的文件
bigcoin.zip
82kB
You can assign a single material with whatever blend mode you like instead, e.g. screen instead of the normal blend mode. It's just that multiple blend modes in the skeleton did not yet lead to the respective separate SkeletonGraphic submeshes in spine-unity 3.8.
We would recommend updating your skeleton projects to 4.2 instead of using such a workaround however.