Adding a line of sight?

I have been wondering how do you add a line of sight for my Ai and make him move around untill he finds you? Thanks if you can help me

I’g go for, 1) proximity check (sphere trigger or Physics.OverlapSphere every x seconds) 2) Obstacles (Raycast) and 3) Angle between the forward vector and the AI → player vector.