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.
lwp
biostatistics
sound-synthesis
pkware
qpropertyanimation
assert
atom-editor
background-thread
microblaze
cassandra-2.1
check
nsurlsessionuploadtask
chrome-extension-manifest-v3
parasoft
mssql-tools
asprise-ocr-api
pii
action-filter
gcloud-compute
mongorestore
teamcenter-itk
arduino-due
syndicationfeed
pymodbustcp
logical-purity
visualstatemanager
android-titlebar
animator
plc4x
rgtk2