// Use this for initialization void Start() { scoreText = GetComponent <Text> (); scoreText.text = "" + RestaurantGlobals.getScore(); }
// Update is called once per frame void Update() { scoreText.text = "" + RestaurantGlobals.getScore(); }