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.
loggerfactory
actix-web
sinon
windows-shell
csvwriter
navigation-timing-api
euler-path
recurring-billing
dpll
mdns
amazon-timestream
selectinput
jboss
httpful
google-cloud-proxy
dbm
kaios
always-on-display
rterm
square
html5-img
filesize
pjsip
root-framework
spectral-density
tms
deadline-timer
fossil
formik-material-ui
ui-patterns