Ejemplo n.º 1
0
 public void ToggleActivityInfo(bool enabled, BaseActivity activity)
 {
     if (enabled && activity != null)
     {
         ActivityName.text = activity.GetName();
         SetGaugeModifierImageColor(ActivityGradeModifierImage, activity.GetGradeModifier());
         SetGaugeModifierImageColor(ActivityHappinessModifierImage, activity.GetHappinessModifier());
         SetGaugeModifierImageColor(ActivityFatigueModifierImage, activity.GetFatigueModifier());
     }
     ActivityInfoUI.SetActive(enabled);
 }