Ejemplo n.º 1
0
    public void OnPointScored()
    {
        points.Value++;
        points.Raise();

        if (streak == 3)
        {
            streak = 0;
            ballsLeft.Value++;
        }

        StartCoroutine(DisplaceHoop());
    }