Definition at line 117 of file AVR_UIInteractionProvider.cs. 121 // Here we show/hide the UIRay if needed and also set the length of the ray to the distance to the canvas.
127 if(canv.isInteractible && canv.GetPlane().Raycast(new Ray(UIRay.UICamera.transform.position, UIRay.UICamera.transform.forward), out float dist)) {
bool show_ray_only_on_hover Only show UIRay when hovering over a canvas or always. Definition: AVR_UIInteractionProvider.cs:47 AVR_UIRay UIRay Pointer ray of this interactionprovider. Is required for the interactionprovider to work... Definition: AVR_UIInteractionProvider.cs:53 Camera UICamera Camera that is the eventCamera for the underlying inputsystem. If left blank, a Camera with preset va... Definition: AVR_UIRay.cs:18 |