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.
modelio
haptic-feedback
multiviews
avroio
double-pointer
stack-dump
android-image-capture
cross-env
git-ftp
jenkins-slave
linux-device-driver
parse-dashboard
opacity
optimizely
qgraphicsproxywidget
angular.io
ibm-speech-to-text
apple-watch-complication
node-html-pdf
docker-entrypoint
unityscript
avalonia
base-dir
thai
project-reactor
jpeg2000
footprint
xilinx
moby
powershell-7.2