// Use this for initialization
    void Start()
    {
        gameManager = GameObject.Find("GameManager").GetComponent<GameManager>();

        previousOrbs = gameManager.getTotalOrbs() - gameManager.getCollectedOrbs();

        collectedOrbTxt.text = gameManager.getCollectedOrbs().ToString();
        enemiesDefeatedTxt.text = gameManager.getEnemiesDefeated().ToString();
        amntOfJumpsTxt.text = gameManager.getCurrentJumps().ToString();
        distanceTxt.text = gameManager.getCurrentDistance().ToString() + " m";
        comboTxt.text = gameManager.getCurrentHighestCombo().ToString() + " x";

        scoreTxt.text = "GAME OVER! YOU SCORED " + gameManager.getCurrentScore().ToString() + " POINTS";
        highTxt.text = "CURRENT HIGHSCORE: " + gameManager.GetHighscore();
        totalOrbTxt.text = previousOrbs.ToString();

        thumbnail.sprite = Sprite.Create(gameManager.EveryplayThumbnail(), new Rect(0, 0, gameManager.EveryplayThumbnail().width, gameManager.EveryplayThumbnail().height), new Vector2(0.5f, 0.5f));
    }