Class YauiRaycaster
Plugs a Yaui.YauiPanel into the EventSystem (and so the Input System UI Input Module), like uGUI's GraphicRaycaster. Events go to the GameObject of the topmost hit element and bubble up the hierarchy.
Assembly: Yaui.dll
View Source
Declaration
public sealed class YauiRaycaster : BaseRaycaster
Properties
eventCamera
Overlay panels are not seen through a camera; world space panels are.
View Source
Declaration
public override Camera eventCamera { get; }
sortOrderPriority
View Source
Declaration
public override int sortOrderPriority { get; }
renderOrderPriority
Overlays are on top of everything rendered by cameras.
View Source
Declaration
public override int renderOrderPriority { get; }
Methods
Raycast(PointerEventData, List<RaycastResult>)
View Source
Declaration
public override void Raycast(PointerEventData eventData, List<RaycastResult> resultAppendList)
Parameters
| Type | Name |
|---|---|
PointerEventData | eventData |
System.Collections.Generic.List<RaycastResult> | resultAppendList |