Detects all colliders on the raycast path. One collider may return several collision points, All will return all these points.
Detects all colliders on the raycast path. One collider may return several collision points(because one collider may have several fixtures, one fixture will return one point, the point may inside collider), AllClosest will return the closest one.
Detects any collider on the raycast path. Once detects a collider, will stop the searching process.
Detects closest collider on the raycast path.
Generated using TypeDoc
Enum for ERaycast2DType.