distance
Distance to the point of hit.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public float distance { get; set; }
Remarks
If the value is not finite, the entire NavMeshHit object represents the result of an invalid query.