// Use this for initialization
    void Start()
    {
        score           = BallBehavior.getScore();
        FinalScore.text = score.ToString();
        RestartButton.onClick.AddListener(Restart);

        SetHighscore(score);
        setCoins(BallBehavior.getCoins());
        checkScore(score);
        gameNum++;
        if (score == 99)
        {
            ShopSprite.setActiveSprite(0);
        }
        if (gameNum == 10)
        {
            Advertisement.Show();
            gameNum = 0;
        }
    }