class in UnityEngine
A path as calculated by the navigation system.
导航网格系统计算的路径。
The path is represented as a list of waypoints stored in the corners array. These points are not set directly from user scripts but a NavMeshPath with points correctly assigned is returned by the NavMesh.CalculatePath function and the NavMeshAgent.path property.
该路径代表存储在corners 数组中的路径点的列表。这些点不是直接从用户脚本设置。而是通过NavMesh.CalculatePath函数和NavMeshAgent.path属性返回分配的当前导航网格路径点。
NavMeshPath | NavMeshPath constructor. 导航网格路径构造函数。 |
ClearCorners | Erase all corner points from path. 从路径清除所有拐角点。 |
GetCornersNonAlloc | Calculate the corners for the path. 计算路径的拐角。 |