This version of Unity is unsupported.

NavMeshPath.ClearCorners

public void ClearCorners();

Description

Erase all corner points from path.