public override void TakeDamage(int damage) { // Debug.Log(hurt_sound); AudioManager.instance.Play(hurt_sound, gameObject, true, gameObject.GetInstanceID()); if (currentHealth > 0) { currentHealth -= damage; aiEnemy.OnAware(); // Debug.Log("New enemy health: " + currentHealth); } else { Kill(); } }