private void Update() { lineRenderer.pointPositions = GetPointPositions(); lineRenderer.ForceRedraw(); }