Пример #1
0
    // Update is called once per frame
    void Update()
    {
        if (Input.GetButtonDown("Cycle") && colourManager.lampOn)
        {
            colourManager.CycleColourWheelClockwise();
        }

        if (Input.GetButtonDown("Toggle"))
        {
            colourManager.TorchToggle();
        }
    }