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.
control-structure
moles
flash-cs5.5
flutter-functional-widget
alien
bulk-collect
gallery
blazored
magento-1.5
big-ip
jobexecutiondecider
actioncontroller
video-thumbnails
audioeffect
aws-sdk-go
system.io.file
aws-cost-explorer
hierarchical-bayesian
hyperledger-iroha
ion-navbar
secevents
custom-backend
nosuchmethoderror
crashpad
libmysql
webimage
nsprintinfo
control-flow-graph
html-datalist
web-api-testing