public void UpdateResource(ResourceManager resource) { ResetDeltaText(); valueField.text = TextHelper.Color(TextHelper.Bold(resource.Value), resource.Color); }
void SetUI() { buttonText.text = "Select " + TextHelper.Bold(card.Title); CheckForConditions(); }
void SetUI() { buttonText.text = "Buy " + TextHelper.Bold(data.card.Title) + " (" + data.price + ")"; }
public void UpdateFaction(FactionManager faction) { ResetDeltaText(); valueField.text = TextHelper.Bold(faction.Renown); }
string GetText(int value) { return(TextHelper.Bold(TextHelper.Color(value.ToString(), value == 0 ? ColorHelper.Muted : ColorHelper.ManaColor))); }