您好,欢迎来到Spine!
Hello and welcome to Spine!
我是否正确理解了您的问题,即您已在多个Spine项目文件中或至少在多个导出的.json文件中分发了动画? 您是否要将这些多个动画json文件导入到Unity中的单个骨架(例如SkeletonAnimation)?
Did I understand your question correctly that you have distributed animations across multiple Spine project files, or at least across multiple exported .json
files? And that you want to import these multiple animation json files to a single skeleton in Unity (e.g. SkeletonAnimation)?
如果是,那么我担心Spine运行时不支持从多个.json
文件导入到单个字符。
If yes, then I fear that importing from multiple .json
files to a single character is not supported by the Spine runtimes.
但是,在Spine编辑器中,您可以轻松地从其他Spine项目文件中导入动画,以获得包含所有动画的组合项目。 这可以通过“脊椎菜单->导入项目”,然后选择“动画”并将其指向相应的脊椎项目文件的路径来完成。 然后,您可以导出包含所有动画的单个.json文件。
However, in the Spine Editor you can easily import animations from other Spine project files to get a combined project with all animations. This can be done via Spine menu -> Import Project
and then selecting Animation and pointing it to the path of the respective Spine project file. Then you can export a single .json
file with all animations.