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.
file-attributes
cddvd
process-management
firefox
react-gtm-module
serilog
data-binding
supervised-learning
page-load-time
eslint-plugin-react-hooks
dopostback
fasttext
alfresco-enterprise
xamarin-sdk
asynccallback
ember-rails
django-tests
owlready
flash
wavelet-transform
aruco
aleph
kendo-clienttemplate
referrerurl
cloudwatch
fillfactor
letter
htaccess
google-slides-api
datatip