Can Unity ScrollRect Ignore Masked object`s BoxCollider?
Hello! I am making a VR Application.
I designed Button Click Event using BoxColldier and RayCast, and it worked fine. but when using ScrollRect, RayCast detects even masked(not showning) object. For Example, In the Picture, RayCast can detect forth element that not showing. Is there any idea that RayCast ignore BoxCollider of not showing object Or is there any idea about Button Click in VR app not using BoxCollider?
I am sorry that i am not good at English. Thank you!
Your answer
![](https://koobas.hobune.stream/wayback/20220612183219im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Camera Follow Script destroys Raycast on VR-Hands with Late Update 1 Answer
SteamVR and canvas interaction? 2 Answers
VR Selection of buttons only works once unless scene refreshed. 0 Answers
SteamVR Laser OnPointerClick not work with UI Element 0 Answers
Why is my Raycast parenting resetting after build? 0 Answers