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.
string-conversion
openblas
opensplice
dynamics-nav-2013
oracle-apex
chipmunk
searchfiltercollection
dependabot-script
webrtc
fabricjs2
nicedit
ips
parentdatawidget
loadable-component
jsonschema2pojo
storyblok
dbcontext
package-private
slam
android-identifiers
typeconverter
fhs
columnheader
pchar
opencv3.2
android-priority-jobqueue
golang-migrate
image-preloader
messagebroker
google-earth