-
Creator 版本:3.8.8
-
目标平台: Android
-
重现方式:spine设置SHARED_CACHE
@property(sp.Skeleton)
anim: sp.Skeleton
start() {
this.anim.setAnimation(0, ‘attack’, false)
this.anim.addAnimation(0, ‘idle’, true)
}
update(deltaTime: number) {
log(this.anim.animation)
}
动画名字一直是attack,即使已经在播idle了,名字仍然是attack,导致没有办法判断当前在播哪个动画 -
重现概率:必现
补充:在web和小游戏平台,同样的代码是可以输出正确的anim.animation