Can See Object In front only

Hello All - I am looking to use the Can See Object task but it seems to be triggering when the character is above the object. I am looking to limit the sight to 360 around the object but not up and down too. If there anyway this can be done?
 
The Can See Object task does not allow for specifying different vertical angles. This will take some modification within MovementUtility.WithinSight:

Code:
                angle = Vector3.Angle(direction, transform.forward);
 
Thanks! Right below there is a check to see if the hitTransform is null. I just added another check to make sure the hitTransform y-axis is within the range I want.
 
Top