hello,想问下之前3.8.96导出的二进制资源,图集资源超出限制之后第二张会直接使用后缀2
来命名。4.1.24导出二进制资源,图集资源超出范围限制之后第二张会直接使用后缀_2
来命名,想问下官方如果我还想在4.1的版本保留2
这样的后缀命名方式可以吗
3.8.96升级到4.1.24
@zhangshuang Unfortunately machine translation failed to translate your message clearly. Are you asking whether it is ok to name your skeleton e.g. skeletonname2
or skeletonname_2
and at the same time have the atlas page name append a suffix 2
? If this is your question: Yes, it is ok, any number suffix will just be appended at the end (resulting in e.g. skeletonname22
).
If this is not your question, could you please describe with an example what you want to have as a result, what you got as a result, and what you are afraid would be a problem?
- Изменено
抱歉,我这边没有描述清楚,使用4.1.24二进制导出多张图集目前的后缀名是ch_1044002_b_2.png
这边希望是ch_1044002_b2.png 这样的命名方式,在4.1.24版本下可以实现吗
这是使用3.8.96版本导出的图集命名方式,因为这边升级版本,需要导出更新资源,但是升级之后多了一个_导致程序那边无法识别。所以希望可以再4.1.24也维持ch_1044002_b2.png这样的命名方式。
@zhangshuang Thanks for the clarification. I'm sorry to say that 4.1 does not receive any updates any longer, and that the atlas page number suffix format can't be configured, it is fixed.
If your application relies on a fixed name, you could use a shell or batch script (.sh or .bat) to rename the files and to also replace the respective name in the .atlas.txt
file as well.
You can see our export/runtimes.sh
script as an example script here where it renames atlas page texture names and adjusts the names in the .atlas.txt
file. The basic call with sed
would be like this:
sed -i "s/name_2.png/name2.png/g" "targetdir/name.atlas.txt"
Harald 谢谢可以顺便再问一下unity2022.3+ 能否支持spine3.8吗?
zhangshuang spine-unity 3.8 supports Unity 2017.1-2020.3, so later versions are not supported. The Unity versions supported by the various spine-unity runtime versions are listed on the download page.:
https://zh.esotericsoftware.com/spine-unity-download#%E6%97%A9%E6%9C%9F%E7%89%88%E6%9C%AC