기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


isOnNavMesh

Is the agent currently bound to the navmesh? (Read Only)
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public bool isOnNavMesh { get; }

Remarks

This property is false if the agent, for some reason, could not bind to the navmesh. E.g. if Scene has no navmesh.