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.
textbox
persistent-volume-claims
solrnet
msagl
finite-automata
address-space
plotrix
qml
endpointnotfoundexception
terminal-services
swtpm
uac
model-based-testing
binary-heap
phonegap-cli
json-rpc
wasabi
hwclock
akka-http
standardized
laravel-queue
jackson2
sql-job
sitecollection
tc39
backwards-compatibility
color-blending
jakarta-mail
json-schema-faker
common-workflow-language