Esempio n. 1
0
    public void Walk()
    {
        if (_coroutine != null)
        {
            StopCoroutine(_coroutine);
        }

        meshAnimator.Play("Walk");
    }
Esempio n. 2
0
 public void Attack()
 {
     _animator.Play(0);
     targetsHealth.DealDamage(EnemySettings.AttackDamage);
 }