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.
minver
sketchware
launch-daemon
monolog
smtp-server
r.java-file
scikit-cuda
tomcat-valve
python-3.2
xjc
jquery-ui-droppable
space-efficiency
human-language
cmis
azure-identity
scrollwheel
extensible-service-proxy
pagedjs
mimer-sql
cookiecontainer
chilkat-email
multimarkdown
msbuild-14.0
shared-project
filebuf
point-clouds
sails-postgresql
window-server
rtsp
transparent