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.
localdatacache
databricks-sql-analytics
invoice
configparser
strip-tags
axlsx
periodic-processing
yuv
reselect
pypandoc
macfuse
mojo-useragent
analyzer
android-renderscript
wwwroot
twowire
icu
deployit
docx
bit-fields
qtmultimedia
data-comparison
git-authentication
internet-connection
urlread
emacs-projectile
static-pages
scriptmanager
virtual-memory
react-native-track-player