iTween.DrawLineGizmos C# (CSharp) Method

DrawLineGizmos() public static method

Draws a line through the provided array of Transforms with Gizmos.DrawLine().
public static DrawLineGizmos ( Transform line ) : void
line Transform /// A ///
return void
    public static void DrawLineGizmos(Transform[] line)
    {
        if(line.Length>0){
            //create and store line points:
            Vector3[] suppliedLine = new Vector3[line.Length];
            for (int i = 0; i < line.Length; i++) {
                suppliedLine[i]=line[i].position;
            }
            DrawLineHelper(suppliedLine,Defaults.color,"gizmos");
        }
    }

Same methods

iTween::DrawLineGizmos ( Transform line, Color color ) : void
iTween::DrawLineGizmos ( Vector3 line ) : void
iTween::DrawLineGizmos ( Vector3 line, Color color ) : void
iTween