The demonstration version of the turrets determines the target based on its target tag. It is Enemy, by default:

Untitled

Also the target should have the collider to trigger.