Version: 2017.3

PhysicsRaycaster.maxRayIntersections

Switch to Manual
public int maxRayIntersections ;

Description

Max number of ray intersection allowed to be found.

A value of zero will represent using the allocating version of the raycast function where as any other value will use the non allocating version.