using UnityEngine;
using UnityEngine.UI;

using System.Collections;

public class ScoreCounter : MonoBehaviour {

    public Text scoreboard;

    public int Score = 0;

	// Use this for initialization
	void Start () {
        scoreboard = GetComponentInChildren<Text>();
        
	}
	
	// Update is called once per frame
	void Update () {
        scoreboard.text = "Score: " + Score.ToString();
	

	}
}
