void Start() { deformedLineList = new List <VectorLine>(); pointLists = new List <List <Vector3> >(); VectorLine.SetCamera3D(myCamera); //Wireframe of cube VectorLine line = new VectorLine("Wireframe", new List <Vector3>(), 1.0f, LineType.Discrete); Mesh cubeMesh = ((MeshFilter)gameObject.GetComponent("MeshFilter")).mesh; line.MakeWireframe(cubeMesh); line.drawTransform = gameObject.transform; line.Draw3DAuto(); mainLine = new VectorLine("MainLine", new List <Vector3>(), 10.0f); mainLine.Draw3DAuto(); deformedLine = new VectorLine("deformedLine", new List <Vector3>(), 10.0f); deformedLine.Draw3DAuto(); lineTransformList = new List <Transform>(); deformedLineTransformList = new List <Transform>(); //Force Line forceVectorList = new List <Vector3>(); //forceLine = new VectorLine("ForceLine", new List<Vector3>(), 30.0f); //VectorLine.SetEndCap("Arrow", EndCap.Both, -1.0F, lineTex, frontTex, backTex); //forceLine.endCap = "Arrow"; //forceLine.Draw3DAuto(); }