Ejemplo n.º 1
0
 public override void Start()
 {
     base.Start();
     group = new WireGroup();
     group.wires.Add(this);
     Connect();
 }
Ejemplo n.º 2
0
 public void Merge(WireGroup other)
 {
     wires.AddRange(other.wires);
     foreach (Wire wire in wires)
     {
         wire.group = this;
     }
 }