private void PopulateText() { target = uiControl.ViewSelectedCritter(); float pVal = (int)(target.GetTotalPopulation() * 10); pVal /= 10; critterName.text = target.GetName() + ""; pop.text = "POP: " + pVal + "k "; }
private void PopulateText() { target = uiControl.ViewSelectedCritter(); float pVal = (int)(target.GetTotalPopulation() * 10); pVal /= 10; critterName.text = target.GetName() + ""; pop.text = "POP: " + pVal + "k "; }