1using System.Collections.Generic;
8 private List<int> m_VertexIndex;
12 m_VertexIndex =
new List<int>();
17 m_MeshInfo = GetComponentInParent<MeshInfo>();
20 private new void OnMouseDrag()
23 m_MeshInfo.
SetVertex(m_VertexIndex, transform.localPosition);
32 m_VertexIndex.Add(index);
void SetVertex(List< int > vertexIndex, Vector3 position)
After moving a VertexEditor, it should change all vertices position
void AddVertexIndex(int index)
Adds an VertexIndex