Unity's Raycast functions has a parameter you could use to raycast to a particular GameObject. You can also use that parameter to ignore particular GameObject.
reader
local-network
qvideowidget
quantization-aware-training
image-registration
elasticsearch-jest
tipc
drei
laravel-collection
papermill
oracle-xe
finch
non-member-functions
web-compiler
realm-functions
binary-tree
xz
highland.js
zq
msmessage
google-fit-sdk
video-upload
unauthorizedaccessexcepti
bounds
hashref
tagfield
google-maps-api-3
kamel-cli
stackexchange.redis
neoscms