public override void Interact() { Visible = true; Button = GetComponent <KeyButton>(); KeyText = Button.Key.ToString(); GameplayUIManager.UIState = UIState.ChooseDisplayColor; }
public override void BeforePatch() { ThroughInverter.Register(); KeyButton.Register(); TFlipFlop.Register(); DLatch.Register(); FileReader.Register(); EdgeDetector.Register(); GateAND.Register(); GateANDB.Register(); GateAND4.Register(); GateNAND.Register(); GateOR.Register(); GateXOR.Register(); GateXNOR.Register(); ModInput.RegisterBinding("DeleteWholeBoard", KeyCode.T, KeyModifiers.Control | KeyModifiers.Shift) .ListenKeyDown(DeleteBoard); }