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