Esempio n. 1
0
 public void PowerUpdateResistanceChange()
 {
     FlushResistanceAndUp(this.gameObject);
     if (connectedDevices.Count > 0)
     {
         foreach (IElectricityIO ConnectedDevice in connectedDevices)
         {
             ConnectedDevice.ResistanceInput(ElectricalSynchronisation.currentTick, 1.11111111f, this.gameObject, null);
         }
         ElectricityFunctions.CircuitResistanceLoop(this, this);
     }
 }