示例#1
0
    public void BoosterActive(bool on)
    {
        boosterActive = on;


        if (on)
        {
            upThruster.TurboOn();
            downThruster.TurboOn();
            rightThruster.TurboOn();
        }
        else
        {
            upThruster.TurboOff();
            downThruster.TurboOff();
            rightThruster.TurboOff();
        }
    }