/Engine/Source/Runtime/AIModule/Classes/Perception/PawnSensingComponent.h
Check line to other actor.
true if controller's pawn can see Other actor.
virtual bool HasLineOfSightTo ( const [AActor](API\Runtime\Engine\GameFramework\AActor) * Other ) const