Exemplo n.º 1
0
    void Update()
    {
        if (GameMan.playing)
        {
            wheel.transform.Rotate(-wheel.transform.right, Time.deltaTime * wheelSpeed);

            GameMan.AIChargeColor(Time.deltaTime * .03f);
        }
        else
        {
            //wheel.transform.Rotate(-wheel.transform.right, 0);

            GameMan.AIChargeColor(0);
        }
    }