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.
loader
ioptionsmonitor
mrz
telerik
assemblyresolve
rust-async-std
futex
cgcolor
e2e-testing
go-git
kismet-wireless
uikit-state-preservation
opencart-events
xmlmapper
lld
extjs7
methodhandle
data-handling
rqt
firebase-authentication
playwright
dynamicmethod
bitcoin-testnet
xunit
skelta
open-location-code
elvis-operator
centos5
google-drawings
file-structure