public void RaycastAll(PointerEventData eventData, List <RaycastResult> raycastResults)
{
// DOC-HINT :::::: multi event system support
// check if the eventData passed to the method does not belong to the eventsystem
if (!this.CompareEventSystemID(eventData))
{
// quit method execution
return;
}
raycastResults.Clear();
var modules = RaycasterManager.GetRaycasters();
for (int i = 0; i < modules.Count; ++i)
{
var module = modules[i];
if (module == null || !module.IsActive())
{
continue;
}
module.Raycast(eventData, raycastResults);
}
raycastResults.Sort(s_RaycastComparer);
}