Line of sight calculation with raycasting in Unity Engine