mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Fixed SkeletonAnimation timeScale.
This commit is contained in:
parent
5b53c28ef7
commit
9bc138716c
@ -45,7 +45,7 @@ public class SkeletonAnimation extends SkeletonSprite {
|
||||
}
|
||||
|
||||
override public function advanceTime (time:Number) : void {
|
||||
state.update(time);
|
||||
state.update(time * timeScale);
|
||||
state.apply(skeleton);
|
||||
skeleton.updateWorldTransform();
|
||||
super.advanceTime(time);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user