How to wait until animation is finnished?

How do i wait until Jumping animation is finnished,before changing bool to false? Otherwise i just must hold the jump button,so animation would play.

  if                 (Input.GetAxis("Jump") !=0) {

		anim.SetBool("Jumping",true);
	}

void OnTriggerEnter (Collider other) {

	if (other.gameObject.tag == "Platform") {
		anim.SetBool("Jumping",false);
	}
}

You have to wait while animation is playing. Check the docs:

http://docs.unity3d.com/ScriptReference/Animation.IsPlaying.html