Version: 2018.1
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#