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.
sceneeditor
cupertino-widgets
report-viewer2012
css-sprites
shape-predictor
modal-dialog
lapply
null-pointer
mongodb-indexes
nsjsonserialization
star-schema
dynamic-dll-import
vue-directives
w3c
terraform-provider-ibm
google-maps-api-2
os.walk
incallservice
simple-form-for
micronaut-test
imutils
mongoose-web-server
microsoft365r
android-collapsingtoolbarlayout
github-webhook
openni
structural-pattern-matching
space-efficiency
reporting-services-2016
direct-composition