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.
proximitysensor
external-hard-drive
european-data-format
google-cloud-api-gateway
system.diagnostics
uipangesturerecognizer
katalon-recorder
cgrect
mod-ssl
cartography
eclipse-fragment
windows-scripting
overfitting-underfitting
starport
cmmotionmanager
avd-manager
django-openid-auth
composer-php
html.actionlink
x-axis
zkemkeeper
.net-core-logging
firedac
skphysicsbody
scalacheck
cloud">cloud
asterisk
vim-syntax-highlighting
premake
lld