Letting my object "see".

I want my object to detect another specific object only if there is a clear “line of sight” between them (I.e. no intervening objects). Seems sile but I can’t figure out a straightforward way to do it. (Yes I am new to Unity - and loving it.)

Use Raycast

http://docs.unity3d.com/Documentation/ScriptReference/Physics.Raycast.html