Exemple #1
0
 public void Link(params LinkDef[] def)
 {
     foreach (var d in def)
     {
         Clay.Connect(this, d.Clay, d.ConnectPoint, d.ConnectPoint);
     }
 }
Exemple #2
0
 public static void Connect(Clay clay1, Clay clay2, object atCp1, object atCp2 = null)
 {
     clay1.Connect(clay2, atCp1);
     clay2.Connect(clay1, atCp2 == null ? atCp1 : atCp2);
 }
Exemple #3
0
 public void Link(LinkDef def)
 {
     Clay.Connect(this, def.Clay, def.ConnectPoint, def.ConnectPoint);
 }