Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EventSystems.EventSystem.RaycastAll

Switch to Manual
public function RaycastAll(eventData: PointerEventData, raycastResults: List<RaycastResult>): void;

Parameters

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

Description

Raycast into the scene using all configured BaseRaycasters.