wavebbs

Hi, 我用下面方法设置Timeline 整体播放速度。
public void setPlayableDirectorTimeScale(float timeScale)
{
if (!playableDirector.playableGraph.IsValid())
{
return;
}

var count = playableDirector.playableGraph.GetRootPlayableCount();
for (var i = 0; i < count; i++)
{
var playable = playableDirector.playableGraph.GetRootPlayable(i);
playable.SetSpeed(timeScale * this.timeScale);
}
}
设置后整体timeline速度变快了,SpineAnimationStateTrack显示速度提升了,但是实际SpineAnimation动画显示出来的播放速度 仍然维持正常速度播放。
After I call this function, Timeline has been sped up and the SpineAnimationState Track also sped up(I can see the changes in the timeline windows), but the character In scene still play with normal speed.

How can I fixed it?

出问题的版本,使用的Unity2020.3.0f1
Timeline插件是 3.8-2021-3-10
UnityTimeline 1.5.4
谢谢

---

Hi ,
Please help me!
Thanks so much!
:)
wavebbs
  • 帖子: 4

Harald

感谢您的举报,对于给您带来的麻烦深表歉意! 我们可以重现该问题。 我在这里创建了一个问题凭单,您可以在其中订阅任何更新以接收通知:
https://github.com/EsotericSoftware/spine-runtimes/issues/1866
问题解决后,我们会通知您。
-----
Thanks for reporting and sorry for the troubles! We could reproduce the issue. I have created an issue ticket here where you can subscribe to receive notifications upon any updates:
https://github.com/EsotericSoftware/spine-runtimes/issues/1866
We will let you know once the issue has been fixed.
头像
Harald

Harri
  • 帖子: 2774


回到 中国Spine用户