public bool isOnNavMesh ;

Description

代理当前是否绑定到导航网格?(只读)

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