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

public class BabyScore : MonoBehaviour {

    public Text ScoreText;
    public Text InstructionText;

	void Update () 
    {
        ScoreText.text = "x" + ScoreBoard.instance.BabiesHatched;
        if(ScoreBoard.instance.BabiesHatched > 6)
        {
            InstructionText.text = "";
        }
        else if (ScoreBoard.instance.BabiesHatched > 3)
        {
            InstructionText.text = "Mobility increases\nnext to eggs or enemies";
        }

	}
}
