Hey guys, i’m brazilian like my name .-. and I don’t know speak english well(i’m not using google translator).
I am newer in unity(more or less), and I need a JS like that:
function Update(){
if(Input.GetMouseButton(0))
{
animation.Play("arranhar");
wait this animation over....
and play the animation from down
animation.Play("arranhar_hit1");
}
}
I want like hits, exemple : punch with left hand , punch with right hand…
understand?
plllzzz i need this - to complete my game
(so i’m not so newer like i said, but i’m noob ‘-’)
i don’t know if you will understand what is from down…
if you don’t look at google translator : “debaixo”
*“arranhar” is scratch in portuguese
repeating :
i wanna hits with same button click mouse one time = animation 1 click mouse more one time = animation2
animations’ name : arranhar , arranhar_hit1
I’ve put like wikipedia(everybody can edit this) to reform something wrong