if(this.GetComponent<Animator>().GetCurrentAnimatorStateInfo(0).normalizedTime >= 1) { //Do something when animator isn't playing {