public void Populate(WeightedRandomDistributionViewPopulator controller, int value, int totalValue) { this._controller = controller; FillImage.fillAmount = (float)value / (float)totalValue; InputField.text = value.ToString(); }
public void Populate(WeightedRandomDistributionViewPopulator controller, int value, int totalValue) { this._controller = controller; FillImage.fillAmount = (float)value / (float)totalValue; InputField.text = value.ToString(); }