- Home /
Creating a faded out curved line
I'm looking to create an animation which simply consists of a line that fades out to an alpha of 0 (so start is an alpha of 1, end is 0).
Here's the effect I'm trying to recreate:
I would like to generate these lines from code as I want them to dynamically change in color/length/animation speed/etc during gameplay. Does anyone have any idea on how to do this?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613082541im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to draw graph(line graph , spline graph) in unity using. 0 Answers
How to move an enemy on a curvy line? 4 Answers
Calculate needed resolution to draw curve from line segments in editor 1 Answer
Can iTween be used to constrain motion for an arbitrarily drawn curve? 1 Answer
Bezier curver using LineRenderer 0 Answers