Example #1
0
 public static Wire create(Terminal startTerminal)
 {
     Transform container = Instantiate(Dummy.transform) as Transform;
     currentWire = container.GetComponent(typeof(Wire)) as Wire;
     currentWire.Start();
     currentWire.connection1 = startTerminal;
     return currentWire;
 }