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.
inbound-security-rule
lc3
saving-data
precision-recall
oracle-rac
nuget-spec
cloudbees
maskededitextender
parametrize
minimum-requirements
rebalancing
autoregressive-models
microsoft-graph-cloudcommunications
android-drawer
pysocks
graphql-spqr-spring-boot-starter
stencils
shopify
constrained-execution-reg
flutter-3.0
osx-yosemite
jquery-datatables
amazon-ssm-agent
rocket-chip
r-lemon
pyspin
embla-carousel
ms-project-server-2016
heremaps-android-sdk
libfuzzer