• International中文
  • unity webgl 同一个场景30多个spine如何优化

我们现在的游戏中,一个场景中有30个左右的spine,会导致upadte调用太多,手机发烫相当严重,玩家反馈掉电也很快,引擎版本是2021.3.14,spine的版本是4.0。想知道有没有什么更好的优化方式吗?

    Related Discussions
    ...

    OneCm First, general considerations for improving performance are summarized in the FAQs of the spine-unity documentation, so please take a look if you haven't already: 常见问题 - FAQ 性能问题

    Also, if a skeleton has multiple atlas pages, but it is difficult to fit them on one page due to many skins, etc., it may be better to repack the atlas pages with only the images that are actually displayed at runtime. See the "运行时重打包" section of the documentation for more information:
    https://zh.esotericsoftware.com/spine-unity#%E7%BB%84%E5%90%88%E7%9A%AE%E8%82%A4

      Misaki Ok, thanks. I've seen it all, I'm just looking for something better, and I'll look into it