mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[unity] Timeline: Fixed Editor scrubbing preview not showing SkeletonUtilityBone overrides (Update callback based). Closes #2031.
This commit is contained in:
parent
5048034053
commit
6b8c6b31cf
@ -303,12 +303,14 @@ namespace Spine.Unity.Playables {
|
||||
if (toAnimation != null)
|
||||
toAnimation.Apply(skeleton, 0, toClipTime, clipData.loop, null, 1f, MixBlend.Setup, MixDirection.In);
|
||||
}
|
||||
skeleton.UpdateWorldTransform();
|
||||
|
||||
if (skeletonAnimation)
|
||||
if (skeletonAnimation) {
|
||||
skeletonAnimation.Update(0);
|
||||
skeletonAnimation.LateUpdate();
|
||||
else if (skeletonGraphic)
|
||||
} else if (skeletonGraphic) {
|
||||
skeletonGraphic.Update(0);
|
||||
skeletonGraphic.LateUpdate();
|
||||
}
|
||||
}
|
||||
// Do nothing outside of the first clip and the last clip.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user