public static bool Linecast(Vector3 start, Vector3 end, out RaycastHit hitInfo) { int layerMask = -5; return(Physics.Linecast(start, end, out hitInfo, layerMask)); }
public static bool Linecast(Vector3 start, Vector3 end) { int layerMask = -5; return(Physics.Linecast(start, end, layerMask)); }