Пример #1
0
            public override void Interact()
            {
                Visible      = true;
                EdgeDetector = GetComponent <EdgeDetector>();

                GameplayUIManager.UIState = UIState.ChooseDisplayColor;
            }
Пример #2
0
        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);
        }