TS
Debug.DrawLine(ray.origin, hit.point,Color.red);
или надо гизмосы включить?
Size: a a a
TS
B[
B[

TS
A
A
B[
AD
B[

AD
B[
TS
AD

TS
AD
(endpoint - startpoint).magnitudeAD
B[
(endpoint - startpoint).magnitude
B[
(endpoint - startpoint).magnitude
B[
B[