unity line renderer clear positions code example Example: how to reset linerenderer unity LineRenderer.positionCount = 0;