您可以通过 skeletonAnimationMulti.CurrentSkeletonAnimation
获取当前活动的 SkeletonAnimation
。 然后您可以照常应用您的修改。
此外,我们刚刚添加了一个 getter 属性 skeletonAnimationMulti.SkeletonAnimations
来访问所有 SkeletonAnimation
实例的列表,以防您想要修改所有实例而不仅仅是活动的实例。
现在有一个更新的 4.1 spine-unity 包可供下载,其中包含以下内容:
spine-unity Download
You can get the currently active SkeletonAnimation
via skeletonAnimationMulti.CurrentSkeletonAnimation
. Then you can apply your modifications as usual.
Also we have just added a getter property skeletonAnimationMulti.SkeletonAnimations
to access the list of all SkeletonAnimation
instances, in case you want to modify all instances instead of only the active one.
There is now an updated 4.1 spine-unity package available for download which contains this addition:
spine-unity Download