From the documentation:
function Update () {
transform.position = Vector3.Lerp(start.position, end.position, Time.time);
}
Trending Articles
More Pages to Explore .....