Play Animation A after Animation B ends

How do you play one animation (Loop) after the other (Once) finishes?

You can do something like this:

AnimationPlayed = true;    
if (AnimationPlayed && !gameObject.animation.isPlaying("Once"){

You can ues Animation.CrossFadeQueued(animationName) or Animation.PlayQueued(animationName).

You can add a float value in which the user will input duration and use wait second for playing that and destroy the old one