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.
precision
dotnet-watch
bash
micrium
hwclock
android-mediascanner
gitlab-rake
pyglet
android-overscoll
identifier
service-fabric-stateful
drop-down-menu
ballerina-swan-lake
tablefilter
preg-replace-callback
springmockito
xdoclet
uicontentview
induction
assistant
farsi
zoom-sdk
batch-file
vdsp
nuxt3
applovin
empirical-distribution
naturalid
tttattributedlabel
inspectdb