How to enemy animation attack player
hello how enemy attack player
public bool attack = true;
public bool attackRight = true;
private Animator anim;
public float attackTimer ;
public float attackCd = 3;
void Awake()
{
anim = gameObject.GetComponent<Animator>();
}
public void Attack (bool attacks)
{
attackTimer += Time.deltaTime;
}
16343544-1465117280187767-20757440-n.png
(11.2 kB)
Comment