I have an animation that is triggered by a button, but when it’s over, it goes back to the first frame - I want it to stay on the last. Unchecking the Loop box does nothing.
Thank you!
What you’re looking for is to change the animation clip’s WrapMode from Once
(the default, which wraps back to the beginning once playback is finished) to Clamp Forever
(which stays on the last frame after playback finished).
The way to do it is to:
- Select the Animation Clip asset in the Project window
- switch the Inspector into Debug Mode
- Click on the Dropdown besides
m_WrapMode
and selectClamp Forever