Esempio n. 1
0
    public void UpdateBallsDestroyed()
    {
        ballsDestroyed++;

        if (ballsDestroyed % Random.Range(5, 18) == 0 && BallManager.bm.balls.Count > 0)
        {
            fruits.InstanciateFruit();
        }
    }