how to set position count of line renderer in unity code example
Example: unity line renderer position count
int AmountPositions;
AmountPositions = GetComponent<LineRenderer>().positionCount;
int AmountPositions;
AmountPositions = GetComponent<LineRenderer>().positionCount;