I have 2 enemies connected to one script but when one enemy dies using destroy(gameObject); the other enemy is still present but my character doesn't recognize it as an enemy
when the player kills one of the enemies it no longer attacks the other enemy but the other enemy still attacks the player
Comment