unity line renderer start width end width not working 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;