Unity - Scripting API: LineRenderer.Simplify (unity3d.com)
There is no “lineRenderer.SetPoints” ??
Unity - Scripting API: LineRenderer.Simplify (unity3d.com)
There is no “lineRenderer.SetPoints” ??
You’re right. The assignment of the points to the line renderer is missing in the example.
In case you didn’t find out how to fix it: Just add the line
lineRenderer.SetPositions(points.ToArray());
to the end of the GeneratePoints() method.
Thanks for raising this issue, I will update the documentation for it!