mingjava I realized that maybe what you're really looking for is to use Multiple CanvasRenders
, Separator Slot Names
and Enable Separation
. Have you tried using those parameters?:
spine-unity 运行时文档 主要组件 SkeletonGraphic组件 #参数
(Although I have linked to the relevant section, this section is quite long, so it may be difficult to find the relevant item. Please scroll down to find the sections.)
You can use them to separate the rendering of the skeleton into any number of CanvasRenderers
in a single instance. If your needs do not necessarily require two instances, this method is much easier to handle in terms of animation synchronization and other aspects. (Rendering is separate, but animation is managed by a single AnimationState
.)
If you haven't tried it yet, it's worth giving it a try to see if it meets your needs.
The following thread may also be helpful:
https://esotericsoftware.com/forum/d/11375-separator-with-skeletongraphics/5