hi
i`m trying making a 2d game .i want make combat attack .attack after another attack after another attack.like a hack slash game ,like dmc. but my problem is when i click left click my first attack launch and after that when i try to click anotherone for next attack my anim will go to base anim and stop (my mean is unity will stop anim after launching first anim and next attack didnt launch) .i use this code for launching first attack and next attack and in animator i maked a transition from first attack to next attack .
if (anime.GetBool("attack_1"))
anime.SetBool("attack_1", false);
if (Input.GetKeyDown(KeyCode.Mouse0))
{
anime.SetBool("attack_1", true);
}
also i dont have any idea about how can manage dmg for every fram of anime. can anyone talk about that?
i search in google and forum but no usefull .so pls help !