Is there a way in 3D to make a collider that exists inside a different collider still be clickable when the camera is outside the larger collider?
For example:
If I have a 1 meter cube with a box collider that's the same size, but it's inside a 10 meter sphere that has a 10 meter box collider, and I want it so when I double-click on the sphere the visibility of the cube changes, and when the cube is visible and I click directly on it the cube registers the click event instead of the sphere.
Do I have to do this all with raycasts, or is there an easier way?