Beispiel #1
0
 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>();
 }
Beispiel #4
0
 public void UpdateHealth(PairedAttribute health)
 {
     healthSlider.value = health.ValueRatio;
 }