eason

spine在预览工具里正常显示,但是导入到unity里不显示,请问有人知道吗,附件里是这个spine的资源,unity版本是2020.3.16f1
您没有权限查看这个主题的附件。
eason
  • 帖子: 2

Misaki

您好。你需要把你的图集的扩展名改为.atlas.txt。如果不这样做,Unity将不能正确加载你的骨架。正确的导出设置在spine-unity运行时文档的以下部分有描述:
spine-unity 运行时文档: 从Spine导出文件到Unity
---
Hi, you need to change the extension of your atlas to .atlas.txt. If this is not done, Unity will not load your skeleton properly. The correct export settings are described in the following section of the spine-unity runtime documentation:
spine-unity 运行时文档: 从Spine导出文件到Unity
头像
Misaki

Misaki
  • 帖子: 656

eason

上面的附件是动效给的源文件,放到unity里是会处理一遍,改成你说的那种格式的
eason
  • 帖子: 2

Misaki

我明白扩展的问题。然而,你的骨架在Unity中显示正确。这个骨架在Inspector窗口的预览中可能显示得不好,因为所有槽的混合模式都设置为Additive,但在场景中却很好。

I understand about the extension. However, your skeleton displays correctly in Unity. This skeleton may not display well in the preview of the Inspector window because the blend modes of all slots are set as Additive, but it is fine in the scene.
Screen Shot 2022-06-01 at 13.14.23.png

你能否检查一下Preferences 参数是否按照文件中的描述正确设置?

If it does not display on your end, it may be that the material settings are incorrect. Could you check to see if the Preferences parameters are set correctly as described in the document?
spine-unity 运行时文档: 高级 Premultiplied 和 Straight Alpha 导入
您没有权限查看这个主题的附件。
头像
Misaki

Misaki
  • 帖子: 656


回到 中国Spine用户