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.
propfind
export-to-pdf
qgrid
delete-operator
luajit
xlookup
packages
smee
calabash
session-replication
likebtn
riscv
webdriver-w3c-spec
arithmetic-overflow
turbo-pascal
eastl
google-cloud-deploy
net-snmp
graphene-python
control-m
mvs
angularjs-ng-class
codata
visual-studio-addins
psql
python-jira
office-2003
jsr352
ksort
debug-diagnostic-tool