Hi, I want to understand how work property ** Ignore Reversed Graphics in Graphic Raycaster **.
_
What I know about Graphic Raycasters and test I have done:
Graphic Raycaster giving us ability to raycast UI elements.
If we have nested canvases they have own Graphic Raycast component who is controling only one canvas (parent-canvas Graphic Raycaster have no power over child-canvases ).
If I disable Graphic Raycaster in canvas I can’t for example click Button in that canvas.
_
Blocking objects property:_
Important: not kind of object but type of collider define how element block raycast.
I set CanvasGreen - property Render Mode: Screen Space - Camera - to see gameObject before UI elements.
I set Graphic Raycaster ( in CanvasRed) - property Blocking Objects: Tree D. Now 3D object like cube block raycasts. (have Mesh Collider - 3D collider)
If I set to Blocking Objects: Two D - elements 2D like sprites block raycasts. (I added Box Collider2D before)
_
How work checkBox Ignore Reversed Graphic?
I put diffrent elements over Button:
I used sprite (with BoxCollider2D) and reversed it- set scale to -1. No effect.
I used quad and reversed it - set scale to -1. No effect.
I used Image - in same canvas and in other - and reversed it. No effect.
Can someone give me example how its work?
I know theory and read documentation and scripting api for graphic raycaster. And I spend about 4 our on test and internet research, so I need example not theory.
Thank you for help