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.
apache-storm
google-cloud-dataproc-metastore
girth
gcc-pedantic
magic-function
entrust
pocodynamo
watson-iot
kivymd
pinnacle-cart
user-thread
audacity
density-independent-pixel
decentraland-ecs
window.crypto
azure-packaging
preview
prefetch
google-cloud-functions
asp.net-core-1.1
outlook-2016
compcert
bazel-scala
bytestream
measurestring
nsxml
manhattan
webex
facebook-sdk-3.1
emoticons