reset animation

Hi, I have an animation of wall explosion that leave debris on the floor at the end of the animation. the wrap mode for that animation is set to once. all i need is to reset this animation to its start position so it will be ready for reuse gain. please note that i don’t want to use instantiate for that animation because i want to safe performance.

Thanks.

If you want to reset it, use

animation["name"].time = 0;

You should do this immediately before you want to play it, not after it finishes. Ideally there shouldn't be any difference, but I think it'd be safer to reset it just before you want it to play- less time for problems to happen.