EventSystem.RaycastAll

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

Parameters

eventDataCurrent pointer data.
raycastResultsList of 'hits' to populate.

Description

Raycast into the Scene using all configured BaseRaycasters.

Did you find this page useful? Please give it a rating: