Table of Contents
Check if target object is in line of sight.
|agent||the game object (usually player) to look from|
|target||the target to check for|
|layerMask||objects layer mask which blocks the line of sight|
|targetLayer||the target layer name as string|
|angle||the line of sight view angle|
|distance||the line of sight distance|