Class RaycasterManager
Keeps track of the BaseRaycasters that the EventSystem raycasts with.
Inherited Members
Namespace: UnityEngine.EventSystems
Assembly: UnityEngine.UI.dll
Syntax
public static class RaycasterManager
Remarks
A BaseRaycaster registers itself when it becomes active and unregisters itself when it becomes inactive. RaycastAll(PointerEventData, List<RaycastResult>) raycasts with every registered raycaster.
Methods
GetRaycasters()
List of BaseRaycasters that have been registered.
Declaration
public static List<BaseRaycaster> GetRaycasters()
Returns
| Type | Description |
|---|---|
| List<BaseRaycaster> | The registered raycasters. |