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.
leader-election
read-receipt
isolation
cubic
plugin-architecture
sas-token
google-cloud-sql
hadoop-plugins
my.resources
linkmovementmethod
system-preferences
resx
unix-ar
item-decoration
android-mediarecorder
safe-navigation-operator
web2py-modules
user-inactivity
links
put
apiconnect
r2winbugs
tomcat8
networkonmainthread
android-graphics
jdownloader
expss
qnames
v4l2
sec-fetch-site