Why does my transform.lookat not work?

Hi guys,

I’m trying to make a third person camera. So I was looking in to transform.lookat. But it doesn’t work at all.

public class CameraFollow : MonoBehaviour {

    public GameObject Player;
    public Vector3 Offset;
    public Transform PlayerLoc;


    void LateUpdate()
    {
        //transform.position = Player.transform.position + Offset;
    }
    void update()
    {
        transform.LookAt(PlayerLoc);

        
    }
   
    
}

The only variable I am using is Playerloc. The other two I was experimenting with calculating and then change the camera position but I thought was too hard for me.

Check the spellings of Update, it’s with capital ‘U’