I would like to have my animations blend out and then stop. Curently I have this but it just stops the animations and doesnt blend. I am new to coding and I would like the animation to blend out, and then stop after its blended. Currently my code below just seems to stop the animation without blending. The reason I need to have the animation stop playing is my sound effects are setup to play on certain animation frames and the animations cannot be running in the background. Is there a way to have this blend then wait .1 seconds and then stop the animations. The way the code is executing its stopping instantly and not blending.
{
animation.Blend(walkAnim, 0.0, 0.1);
animation.Blend(runAnim, 0.0, 0.1);
animation.Stop(walkAnim);
animation.Stop(runAnim);
}