public void SecondTrigger(Transform controller, int controllerIndex)
        {
            UpdateCirclePositions(controller, controllerIndex);
            SelectVertices();
            // Avoid nuking the user's copy buffer by creating a local buffer.
            Copy copyManagerFirstEndCap = new Copy(mesh);

            copyManagerFirstEndCap.CopySelection(false);

            mesh.extrusion.ExtrudeSelected();

            // Avoid nuking the user's copy buffer by creating a local buffer.
            Copy copyManagerSecondEndCap = new Copy(mesh);

            copyManagerSecondEndCap.CopySelection();

            copyManagerFirstEndCap.SelectVerticesFromCopy();
            mesh.triangles.FlipNormalsOfSelection();
            mesh.selection.Clear();

            copyManagerSecondEndCap.SelectVerticesFromCopy();

            lastVertexInstance = mesh.selection.selectedVertices[1].vertex.instance;
            SetSelectable(false);
            Debug.Log("SecondTrigger");
            lastVertexInstance.GetComponent <VertexController>().DragStart(controller, controllerIndex);
        }
        public void SecondTrigger(Transform controller, int controllerIndex)
        {
            UpdatePlanePositions(controller, controllerIndex);
            mesh.extrusion.ExtrudeSelected();
            // Avoid nuking the user's copy buffer by creating a local buffer.
            Copy copy = new Copy(mesh);

            copy.CopySelection();
            mesh.selection.Clear();
            SelectVertices();
            mesh.triangles.FlipNormalsOfSelection();
            mesh.selection.Clear();
            copy.SelectVerticesFromCopy();
            lastVertexInstance = mesh.selection.selectedVertices.Last().vertex.instance;
            SetSelectable(false);

            //Debug.Log("onSecondTrigger selectedVertices.Count="+ meshController.selectionManager.selectedVertices.Count + ",fifthVertexInstance=" + fifthVertexInstance.GetInstanceID());
            lastVertexInstance.GetComponent <VertexController>().DragStart(controller, controllerIndex);
        }