ドキュメント

Unity Engine

Unity Engine

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.