NavMeshPath.corners

public Vector3[] corners;

Description

Corner points of the path. (Read Only)

Also known as "waypoints", the corners define the places along a path where it changes direction (ie, the path consists of a number of straight-line moves between corners).

no example available in C#
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答