am a beginner at unity and c# as well. i followed a tutorial in youtube, and i did every thing as he did but i got an error. am trying to animate a drawn graph. the error in console is as follows: error CS1061: 'List<Vector2>' does not contain a definition for 'Clone' and no accessible extension method 'Clone' accepting a first argument of type 'List<Vector2>' could be found (are you missing a using directive or an assembly reference?)
and the part in script that has the problem is this one:
void AnimateLine(UILineRenderer line){
List<Vector2> points = line.points.Clone();
Animate(line, points);
}
i don't know how to define Clone() in List<Vector2>, am a beginner so excuse my ignorence.
for now I tried nothing and this was my first place to ask that.