How change the width of a line renderer through script unity 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;