private void OnTriggerEnter(Collider other) { if (other.name == "WireComputer") { if (!startIn) { startIn = true; return; } cpwd.switchOnOff(true); } }