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:

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

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