Documentation

Unity Engine

Download Unity

Unity Engine

polygon

Unique identifier for the node in the NavMesh to which the world position has been mapped.
Read time 1 minuteLast updated 2 months ago

Definition

Warning
Deprecated. The experimental NavMeshLocation struct has been deprecated. Use NavLocation instead.
public readonly PolygonId polygon { get; }

Remarks

Additional Resources: NavMeshPolyTypes