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