public override void SetDefaults(VertexDataLink to)
            {
                base.SetDefaults(to);

                if (myIndex != 1)
                {
                    return;
                }

                to.enabled = true;

                var ind = VertexUv.inst[0].myIndex;

                to.links[0].srcIndex = ind;
                to.links[0].dstIndex = 0;
                to.links[1].srcIndex = ind;
                to.links[1].dstIndex = 1;

                ind++;

                to.links[2].srcIndex = ind;
                to.links[2].dstIndex = 0;
                to.links[3].srcIndex = ind;
                to.links[3].dstIndex = 1;
            }
 public virtual void SetDefaults(VertexDataLink to)
 {
     for (int i = 0; i < to.links.Count; i++)
     {
         to.links[i].dstIndex = i;
     }
 }
 public override void SetDefaults(VertexDataLink to)
 {
     base.SetDefaults(to);
     to.enabled           = true;
     to.sameSizeDataIndex = VertexColor.inst.myIndex;
     for (var i = 0; i < 4; i++)
     {
         to.links[i].srcIndex = VertexColor.inst.myIndex;
     }
 }
 public override void SetDefaults(VertexDataLink to)
 {
     base.SetDefaults(to);
     to.enabled           = true;
     to.sameSizeDataIndex = VertexNormal.inst.myIndex;
 }