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