你好,
我拖入skel文件后图片的扫描路径是和骨骼路径一样 但是图片在images文件夹 导致不会直接显示图像
但是如果skel文件有 ./images 这段字符就可以在导入skel文件后自动切换到对应的images文件夹
有什么办法能给二进制skel文件添加 ./images 指定读取图片的文件夹吗? 期待有人能解答一下 非常感谢
spine4.1文件
你好,
我拖入skel文件后图片的扫描路径是和骨骼路径一样 但是图片在images文件夹 导致不会直接显示图像
但是如果skel文件有 ./images 这段字符就可以在导入skel文件后自动切换到对应的images文件夹
有什么办法能给二进制skel文件添加 ./images 指定读取图片的文件夹吗? 期待有人能解答一下 非常感谢
spine4.1文件
When you pack with "nonessential data" checked, then the images path and other information is stored in the binary skeleton data file. This data is not normally needed at runtime, but can be helpful if you are importing back into Spine.
It's not easy to modify a binary file to add the path. Better to export it with nonessential data checked.
There isn't a way to add the images path, unless you export it with nonessential checked or you write code to do it.
Why do you need the images path in the .skel
files? That isn't normally needed.
Ideally you only use .skel
files in your app. You should use .spine
files to store the projects, and those always have the images path stored.
OK, but export from the .spine
file, not the .skel
file.