RaycastHit.distance 距离

var distance : float

Description描述

The distance from the ray's origin to the impact point.

从光线的原点到碰撞点的距离。

参见:Physics.Raycast, Physics.Linecast, Physics.RaycastAll.

Page last updated: 2011-3-13