line renderer position count 0 code example
Example: unity line renderer position count
int AmountPositions;
AmountPositions = GetComponent<LineRenderer>().positionCount;
int AmountPositions;
AmountPositions = GetComponent<LineRenderer>().positionCount;