Raycasting – Unity Official Tutorials

Watch this video in context on Unity’s learning pages here –
http://unity3d.com/learn/tutorials/modules/beginner/physics/raycasting

How to use Rays to detect line of sight and angular calculations.