Beispiel #1
0
 public void UpdateDisplay(Effort effort)
 {
     text.text = "";
     foreach (Effort.EffortType type in System.Enum.GetValues(typeof(Effort.EffortType)))
     {
         text.text += type + ": " + effort.GetEffort(type) + " / " + effort.GetMaxEffort(type) + "\n";
     }
 }