I need an animation to play on a parent object. I’ve set it all up but it won’t play there is no errors or anything it just won’t play! The animation is called shoot_m14.
function Update () {
if(Input.GetMouseButton(0)){
transform.parent.animation.Play("shoot_m14");
Thanks is advance!!!