unity change line renderer thickness code example
Example: unity line renderer start width
AnimationCurve curve = new AnimationCurve(); curve.AddKey(0, scale); curve.AddKey(1, scale); lineRenderer.widthCurve = curve;
AnimationCurve curve = new AnimationCurve(); curve.AddKey(0, scale); curve.AddKey(1, scale); lineRenderer.widthCurve = curve;