Пример #1
0
    private void OnCollisionEnter(Collision collision)
    {
        game.addpoints(100);
        game.bounces++;

        if (game.bounces >= 3)
        {
            game.bounces -= 3;
            game.multiplier++;
        }
    }