Animation trigger help?
the problem if I press the mouse button while jumping it will flip into the shooting animation while in mid-air back into the jumping animation
void Update () {
if (Input.GetMouseButton(0))
{
anim.Play("Shooting");
}
}
}
how would I write if jumping animation is pplaying dont play animation shooting ?
Comment
Your answer
Follow this Question
Related Questions
Why is the reflected ray the same length as the previous and how to fix it 1 Answer
Animation Blend Tree loop error 1 Answer
Walking animation of character appear broken when combined with NavMesh Agent 0 Answers
How should I go about rigging characters in my game? 0 Answers
How to open a lid and leave it open 0 Answers