public CopyLayerInstance(MeshVert _parent, MeshFace _element, int copyLayerId = -1) { parent = _parent; element = _element; offsetPosition = Vector3.zero; copyLayer = CopyLayerManager.GetLayer(copyLayerId); copyLayer.Add(this); }
public void ChangeCopyLayer(int copyLayerId = -1) { copyLayer.RemoveInstance(this); copyLayer = CopyLayerManager.GetLayer(copyLayerId); copyLayer.Add(this); }