protected void AddPairedAttribute(AttributeType stat, PairedAttribute attribute) { pairedAttributes.Add(stat, attribute); }
private void Awake() { Health = new PairedAttribute(); SharedUnits = new List <FormationUnit>(); }
void Awake() { Health = new PairedAttribute(AttributeCategory.CombatStat); SharedUnits = new List <FormationUnit>(); }
public void UpdateHealth(PairedAttribute health) { healthSlider.value = health.ValueRatio; }