LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

BaseRaycaster.Raycast

public void Raycast(EventSystems.PointerEventData eventData, List<RaycastResult> resultAppendList);

Parameters

eventDataCurrent event data.
resultAppendListList of hit Objects.

Description

Raycast against the scene.