This version of Unity is unsupported.

EventSystem.RaycastAll

Declaration

public void RaycastAll(EventSystems.PointerEventData eventData, List<RaycastResult> raycastResults);

Parameters

eventData Current pointer data.
raycastResults List of 'hits' to populate.

Description

Raycast into the Scene using all configured BaseRaycasters.