public virtual void Attack(float x, float z) { RotateTowards(x, z); anim.SetAttack(); actions.Attack(targetDirection); }