void Update() { if (conPointOne.GetWireStatus()) { ApplyPowerToAll(); } if (conPointTwo.GetWireStatus()) { ApplyPowerToAll(); } if (conPointThree.GetWireStatus()) { ApplyPowerToAll(); } }
void Update() { if (leverDown) { Debug.Log(conPointOne.isTransferringPower + " " + conPointTwo.isTransferringPower); if (conPointOne.GetWireStatus()) { conPointTwo.isTransferringPower = true; } if (conPointTwo.GetWireStatus()) { conPointOne.isTransferringPower = true; } } }