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

public class GetScoreSquirrel : MonoBehaviour {
	GameManager gameManager;
	Text sScore;
	// 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.iSquirrelScore.ToString();
	}
}
