// Use this for initialization
    new void Start()
    {
        base.Start();


        //Hide the pps button.
        PPSButton.gameObject.SetActive(false);
        Animal.gameObject.SetActive(false);

        ResetScoresLabel();

        //Set to defaul duration.
        localDuration = Duration;

        //Grab the tween components
        MoneyTween  = MoneyLabel.GetComponent <TweenScale>();
        PointsTween = ScoreLabel.GetComponent <TweenScale>();
        BonusTween  = BonusLabel.GetComponent <TweenScale>();

        PreparePhaseGrid();
    }
Example #2
0
 public void RefreshMoneyLabel(string Value)
 {
     MoneyLabel.Invoke(new Action(() =>
                                  MoneyLabel.Text = Value));
 }