2d - How do i make an object spawn facing the center of the screen?

I’d like an enemy, when generated, to immediately face the center of the screen.

public class Enemy : MonoBehaviour
{
// in the inspector drag your camera on this field
public Camera cam;

    void Start()
    {
        Vector3 screenCenterPointInWorld =
        cam.ScreenToWorldPoint(Screen.width * 0.5f, Screen.height * 0.5f, 0);
        transform.LookAt(screenCenterInWorld);
    }
}