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

public class GetScoreFox : MonoBehaviour {
	GameManager gameManager;

	// Use this for initialization
	void Start () {
		gameManager = GameObject.Find ("GameManager").GetComponent<GameManager>();
	}
	// Update is called once per frame
	void Update () {
		this.GetComponent<Text>().text = gameManager.iFoxScore.ToString();
	}
}
