using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class ShowScore : MonoBehaviour {
	public GameObject mouth;
	Text message;

	// Use this for initialization
	void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		message = GetComponent<Text> ();
		message.text = mouth.GetComponent<EatItem>().score.ToString();
	}
}
