void Attack(Collider2D other) { if (other.gameObject.GetComponent <PlayerHealth>()) { SoundManager.PlaySound("kickHit"); PlayerHealth playerHealth = other.gameObject.GetComponent <PlayerHealth>(); _enemyAnimation.EnemyAttack(); playerHealth.TakeDamage(_forca); } }