I am using line renderer on a gameObject and I am making that gameObject to travel a distance so that the line is drawn from the starting position till the end position. The