Beispiel #1
0
    public void PressedGate(ArcadeButtonGates gateName)
    {
        //NOTE: my next step is to implement this
        //arcadeButtonController.ButtonPressed(gateName);
        switch (gateName)
        {
        case ArcadeButtonGates.xi:
            print("XI");
            circuitGridControlScript.AddGate(gateName);
            break;

        case ArcadeButtonGates.hi:
            print("HI");
            circuitGridControlScript.AddGate(gateName);
            break;

        default:
            print("we no use these yet");
            break;
        }
    }
Beispiel #2
0
    public void PressedGate(ArcadeButtonGates gateName)
    {
        //NOTE: animate when the button is pressed
        arcadeAPIController.ButtonPressed(gateName);
        switch (gateName)
        {
        case ArcadeButtonGates.xi:
            print("XI");
            circuitGridControlScript.AddGate(gateName);
            break;

        case ArcadeButtonGates.hi:
            print("HI");
            circuitGridControlScript.AddGate(gateName);
            break;

        default:
            print("we no use these yet");
            break;
        }
    }