Exemplo n.º 1
0
    void Update()
    {
        gold.Update();
        mana.Update();
        mages.Update();
        date.Update();

        timer += Time.deltaTime;
        if (timer > UpdateTime)
        {
            gold.Gather();
            mana.Gather();
            timer = 0;
        }
    }