itween WayPoint

I write some script for itween waypoint.

I want to the cube make the circle Unlimited

How to write the script?

WaypointMove.js (attach cube)

using UnityEngine;
using System.Collections;

public class WaypointMove : MonoBehaviour {
	public Transform[] waypoints;
	public float m_speed;
	void Start(){
	void OnDrawGizmos(){
	void MoveToWaypoint(){		

my project

itween waypoint

in the iTween.MoveTo you will need the

"looptype", iTween.LoopType.loop
and if you want the loop to the smooth you need to make the first of you waypoint coordinates the same as the last, thus creating a loop

in your case
waypoints[waypoints.count-1] = waypoints[0];