public void Refresh() { attack.RefreshDisplay(data.totalTimesAttacked, data.attackActionPercent); defend.RefreshDisplay(data.totalTimesDefended, data.defendActionPercent); dash.RefreshDisplay(data.totalTimesDashed, data.dashActionPercent); rest.RefreshDisplay(data.totalTicksRested * .01f, Mathf.Clamp01(data.totalTicksRested / 600f)); feed.RefreshDisplay(data.totalTimesPregnant, data.totalTimesPregnant / 4f); }
public void Refresh() { plants.RefreshDisplay(data.totalFoodEatenPlant, data.plantEatenPercent, true); microbes.RefreshDisplay(data.totalFoodEatenZoop, data.zooplanktonEatenPercent, true); animals.RefreshDisplay(data.totalFoodEatenCreature, data.creatureEatenPercent, true); eggs.RefreshDisplay(data.totalFoodEatenEgg, data.eggEatenPercent, true); corpse.RefreshDisplay(data.totalFoodEatenCorpse, data.corpseEatenPercent, true); }