Enemy know what hit it

Hi, so im pretty new to all this so this might be really simple…

I am making a little tower defense game and my newest roadblock is that I need a way for my Instantiated enemies to know what tower hit them. So a present the Instatiated enemy the information from the Tower by reffering to its name but this isn’t really a solution when I want to have a lot of towers. So is there a simple way to reference a specific towers damage to the enemy that actually got hit. By the way I am also Instantiating the “Bullets” from the towers and they hit the enemies with a OnTriggerEnter2D if that helps.

(add question here) ?

Why don’t you store the shooting tower reference in the bullet, then on collision, while applying damage to the enemy, pass the tower information along with the damage amount

This is how my OnTrigger looks. EnemyTakeDamage is just
enemyHp -= takeDamage;

public void OnTriggerEnter2D(Collider2D other)
{
    if (other.CompareTag("projectile"))
    {
        EnemyTakeDamage(towerAttack.damage);
    }
}