Example #1
0
    private void PopulateText()
    {
        target = uiControl.ViewSelectedCritter();
        float pVal = (int)(target.GetTotalPopulation() * 10);
        pVal /= 10;

        critterName.text = target.GetName() + "";

        pop.text = "POP: " + pVal + "k ";
    }