기술 자료

Unity Engine

Unity Engine

remainingDistance

The distance between the agent's position and the destination on the current path.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public float remainingDistance { get; }

Remarks

If the remaining distance is unknown then this will have a value of infinity.