I have a simple legacy animation of a cube moving across the screen.
I have setup a simple state in Playmaker that plays the animation and updates a Unity slider while the animation plays. This uses:
Play Animation
Get Animation Time (puts the value into a variable)
UGui Slider Set Value (uses the variable to set the Unity slider value).
This all works fine. The animation plays and the slider moves along with it.
Problem is... when the animation plays to the end... the animation stops on the last frame (as desired) but the Unity slider jumps back to the beginning.
Any idea why this is happening? At the end of the animation, the normalized value should be 1 and the Unity slider should stay at 1 also (not jump back to 0).
Thanks for any ideas!