I have scripted some Timeline playable which along of its duration, I want the SkeletonAnimation
to temporarily stop updating whatever AnimationState it is holding. (but I am not replacing the AnimationState, I will just make a new one and apply onto the skeleton)
Since update is the regular Update()
and to prevent that I need to .enable = false
the component, it together make the renderer stop which is not desirable.
I notice that I could use freeze
on SkeletonGraphic
to preserve its timeScale
and make it stop updating. But there is no freeze
on SkeletonAnimation
. To freeze animation I must change the timeScale
to 0 but that way I lose the time scale I intended to use after the timeline stops. Is there any reason freeze
is not implemented on the SkeletonAnimation
?