hi all~~
I have a problem where my animation only plays the first frame and stops.
I have checked the art asset , the animation is there and is on the prefab animation list.
Here is my code
if(Input.GetKey(KeyCode.UpArrow)||Input.GetKey(KeyCode.DownArrow)){
if(!player.animation.IsPlaying("climb")){
player.animation.Play("climb");
}
I am not sure if I miss something~~any advice would be great ~~thanks